We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ff72a1 commit ee126efCopy full SHA for ee126ef
1 file changed
test/runtests-utils.jl
@@ -9,6 +9,7 @@ end
9
@testset "Test utils.jl - function `int2enum()`" begin
10
@enum Fruit apple=10 orange=20 kiwi=30
11
@test int2enum(Fruit, 20) == orange
12
+ @test int2enum(Fruit, 10) == apple
13
end
14
15
0 commit comments