Skip to content

Commit c479ed3

Browse files
committed
Fix float(::Type) test
1 parent bc7d076 commit c479ed3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/unittests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ end
443443
x = Quantity{Int}(u"m/s")
444444
@test typeof(x) == Quantity{Int64,DEFAULT_DIM_TYPE}
445445
y = float(typeof(x))
446-
@test typeof(y) == Quantity{Float64,DEFAULT_DIM_TYPE}
446+
@test y == Quantity{Float64,DEFAULT_DIM_TYPE}
447447
end
448448

449449
@testset "Units" begin

0 commit comments

Comments
 (0)