Skip to content
This repository has been archived by the owner on Jun 4, 2019. It is now read-only.

Commit

Permalink
Fix invalid test on 32-bit systems
Browse files Browse the repository at this point in the history
  • Loading branch information
omus committed Apr 25, 2018
1 parent 7ec9e03 commit eaf57db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit eaf57db

Please sign in to comment.