Skip to content

Commit 2944479

Browse files
committed
Fix formatter integration test
1 parent ff3674d commit 2944479

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

lib/elixir/test/elixir/code_formatter/integration_test.exs

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -549,11 +549,16 @@ defmodule Code.Formatter.IntegrationTest do
549549
end
550550

551551
test "multiline expression inside interpolation" do
552-
bad = """
553-
Logger.info("Example: #{inspect(%{a: 1, b: 2})}")
552+
bad = ~S"""
553+
Logger.info("Example: #{
554+
inspect(%{
555+
a: 1,
556+
b: 2
557+
})
558+
}")
554559
"""
555560

556-
assert_format bad, """
561+
assert_format bad, ~S"""
557562
Logger.info("Example: #{inspect(%{a: 1, b: 2})}")
558563
"""
559564
end

0 commit comments

Comments
 (0)