We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c89280 commit 7d7ed24Copy full SHA for 7d7ed24
1 file changed
test/runtests.jl
@@ -2764,6 +2764,8 @@ process.stdout.write(String(f_isempty("hello")));
2764
@testset "String interpolation" begin
2765
@test playground_eval("x = 42\nprintln(string(\"x = \", x))") == "x = 42"
2766
@test playground_eval("println(string(\"a\", \"b\", \"c\"))") == "abc"
2767
+ # Dollar-sign interpolation syntax (the actual bug that was fixed)
2768
+ @test playground_eval("name = \"World\"\nx = 42\nprintln(\"Hello, \$name! The answer is \$x.\")") == "Hello, World! The answer is 42."
2769
end
2770
2771
@testset "Math functions" begin
0 commit comments