File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
lib/elixir/test/elixir/code_normalizer Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -633,13 +633,12 @@ defmodule Code.Normalizer.QuotedASTTest do
633633 input = "def foo, do: :bar, __cursor__()"
634634 expected = "def foo, [{:do, :bar}, __cursor__()]"
635635
636- ast = Code . string_to_quoted! ( input , token_metadata: true )
636+ ast = Code . string_to_quoted! ( input )
637637
638638 assert quoted_to_string ( ast ) == expected
639639
640640 ast =
641641 Code . string_to_quoted! ( input ,
642- token_metadata: true ,
643642 literal_encoder: & { :ok , { :__block__ , & 2 , [ & 1 ] } }
644643 )
645644
@@ -648,20 +647,19 @@ defmodule Code.Normalizer.QuotedASTTest do
648647
649648 test "keyword arg edge case: literal encoder" do
650649 input = """
651- foo Bar do
650+ foo( Bar) do
652651 :ok
653652 end
654653 """
655654
656655 expected = String . trim ( input )
657656
658- ast = Code . string_to_quoted! ( input , token_metadata: true )
657+ ast = Code . string_to_quoted! ( input )
659658
660659 assert quoted_to_string ( ast ) == expected
661660
662661 ast =
663662 Code . string_to_quoted! ( input ,
664- token_metadata: true ,
665663 literal_encoder: & { :ok , { :__block__ , & 2 , [ & 1 ] } }
666664 )
667665
You can’t perform that action at this time.
0 commit comments