Skip to content

Commit 599e147

Browse files
committed
fixed incorrect usage of haskey for MvHistory in tests
1 parent fca3ac5 commit 599e147

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test_hparams.jl

+2-2
Original file line numberDiff line numberDiff line change
@@ -102,5 +102,5 @@ end
102102
@info "x" val=3.0
103103
end
104104
hist = convert(MVHistory, lg)
105-
@test haskey(hist, "x/val")
106-
end
105+
@test haskey(hist, Symbol("x/val"))
106+
end

0 commit comments

Comments
 (0)