We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff3674d commit 2944479Copy full SHA for 2944479
lib/elixir/test/elixir/code_formatter/integration_test.exs
@@ -549,11 +549,16 @@ defmodule Code.Formatter.IntegrationTest do
549
end
550
551
test "multiline expression inside interpolation" do
552
- bad = """
553
- Logger.info("Example: #{inspect(%{a: 1, b: 2})}")
+ bad = ~S"""
+ Logger.info("Example: #{
554
+ inspect(%{
555
+ a: 1,
556
+ b: 2
557
+ })
558
+ }")
559
"""
560
- assert_format bad, """
561
+ assert_format bad, ~S"""
562
Logger.info("Example: #{inspect(%{a: 1, b: 2})}")
563
564
0 commit comments