We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6437f1a commit 74749a6Copy full SHA for 74749a6
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, 30) == kiwi
13
end
14
15
0 commit comments