From eaf57db5be2e0d2bb21f7d2f0f0b0e2a71d5bcdf Mon Sep 17 00:00:00 2001 From: Curtis Vogt Date: Wed, 25 Apr 2018 15:28:52 -0500 Subject: [PATCH] Fix invalid test on 32-bit systems --- README.md | 2 +- test/runtests.jl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index bcf481c..e279065 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ Test.bar( @NT( a= 2, c="hello")) # Returns `hellohello` There is at most one instance of a NamedTuple type with a given set of Members and Types, hence ```julia -typeof( @NT( a::Int64, b::Float64 )(1, 3.0) ) == typeof( @NT( a = 1, b = 2.0 )) +typeof( @NT( a::Int, b::Float64 )(1, 3.0) ) == typeof( @NT( a = 1, b = 2.0 )) ``` NamedTuple definitions are shared across all modules. The underlying immutable types are constructed at first use. diff --git a/test/runtests.jl b/test/runtests.jl index 7743853..d16d80f 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -28,7 +28,7 @@ using Base.Test @test @NT(a::Int, b) == @NT(a::Int, b::Any) -@test typeof( @NT( a::Int64, b::Float64 )(1, 3.0) ) == typeof( @NT( a = 1, b = 2.0 )) +@test typeof( @NT( a::Int, b::Float64 )(1, 3.0) ) == typeof( @NT( a = 1, b = 2.0 )) # Syntax tests, including anon named tuples @test @NT( a, b ) <: NamedTuple