diff --git a/test/compiler.jl b/test/compiler.jl index 404644d5e..4df301878 100644 --- a/test/compiler.jl +++ b/test/compiler.jl @@ -624,7 +624,7 @@ end end s = @doc(demo) - @test "$s" == "This is a test\n" + @test string(s) == "This is a test\n" # Verify that adding docstring didn't completely break execution of model m = demo(0.)