Skip to content

Commit 6ca2287

Browse files
committed
test: fix string representation in test module
1 parent bf72a4e commit 6ca2287

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/unittests.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -743,8 +743,8 @@ end
743743
@test FRInt8 === FixedRational{Int8, 12}
744744
@test DEFAULT_DIM_BASE_TYPE === FRInt32
745745

746-
@test string(FRInt32) == "FRInt32"
747-
@test string(FRInt8) == "FRInt8"
746+
@test occursin("FRInt32", string(FRInt32))
747+
@test occursin("FRInt8", string(FRInt8))
748748
end
749749
end
750750

0 commit comments

Comments
 (0)