Skip to content

Commit

Permalink
Fix test on nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
giordano committed Sep 8, 2020
1 parent bae5ced commit 84a9c52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,7 @@ end
@test repr(-12.34567±0) == "-12.34567 ± 0.0"
@test repr(-12.34567±NaN) == "-12.34567 ± NaN"
@test repr(1e-6±0) == "1.0e-6 ± 0.0"
@test occursin(r"2×2 Array{Measurement{Float64},2}:\n -0.5±0.03 30.0±1.0 *\n 400.0±20.0 -500.0±30.0",
@test occursin(r"2×2 (Array|Matrix){Measurement{Float64}(,2|)}:\n -0.5±0.03 30.0±1.0 *\n 400.0±20.0 -500.0±30.0",
repr("text/plain", [w 10x; 100y 1000w]))
@test repr("text/plain", zz, context=:compact=>true) == "(-0.534±0.031)-(0.534±0.031)im"
@test repr("text/plain", zz) == "(-0.534 ± 0.031) - (0.534 ± 0.031)im"
Expand Down

0 comments on commit 84a9c52

Please sign in to comment.