   end
 
   test "string_to_quoted!/2 raises with :existing_atoms_only" do
-    assert catch_error(Code.string_to_quoted!(":there_is_no_such_atom", existing_atoms_only: true)) == :badarg
+    assert catch_error(
+             Code.string_to_quoted!(":there_is_no_such_atom", existing_atoms_only: true)
+           ) == :badarg
   end
 
   test "string_to_quoted/2 with :formatter_metadata wraps literals in blocks" do
     string_to_quoted = &Code.string_to_quoted!(&1, formatter_metadata: true)
 
-    assert string_to_quoted.(~s("one")) ==
-           {:__block__, [format: :string, line: 1], ["one"]}
-    assert string_to_quoted.("'one'") ==
-           {:__block__, [format: :charlist, line: 1], ['one']}
-    assert string_to_quoted.("?é") ==
-           {:__block__, [original: '?é', line: 1], [233]}
-    assert string_to_quoted.("0b10") ==
-           {:__block__, [original: '0b10', line: 1], [2]}
-    assert string_to_quoted.("12") ==
-           {:__block__, [original: '12', line: 1], [12]}
-    assert string_to_quoted.("0o123") ==
-           {:__block__, [original: '0o123', line: 1], [83]}
-    assert string_to_quoted.("0xEF") ==
-           {:__block__, [original: '0xEF', line: 1], [239]}
-    assert string_to_quoted.("12.3") ==
-           {:__block__, [original: '12.3', line: 1], [12.3]}
-    assert string_to_quoted.("nil") ==
-           {:__block__, [line: 1], [nil]}
-    assert string_to_quoted.(":one") ==
-           {:__block__, [line: 1], [:one]}
-    assert string_to_quoted.("[1]") ==
-           {:__block__, [end_line: 1, line: 1], [[{:__block__, [original: '1', line: 1], [1]}]]}
-    assert string_to_quoted.("{:ok, :test}") ==
-           {:__block__, [end_line: 1, line: 1], [{{:__block__, [line: 1], [:ok]}, {:__block__, [line: 1], [:test]}}]}
+    assert string_to_quoted.(~s("one")) == {:__block__, [format: :string, line: 1], ["one"]}
+    assert string_to_quoted.("'one'") == {:__block__, [format: :charlist, line: 1], ['one']}
+    assert string_to_quoted.("?é") == {:__block__, [original: '?é', line: 1], [233]}
+    assert string_to_quoted.("0b10") == {:__block__, [original: '0b10', line: 1], [2]}
+    assert string_to_quoted.("12") == {:__block__, [original: '12', line: 1], [12]}
+    assert string_to_quoted.("0o123") == {:__block__, [original: '0o123', line: 1], [83]}
+    assert string_to_quoted.("0xEF") == {:__block__, [original: '0xEF', line: 1], [239]}
+    assert string_to_quoted.("12.3") == {:__block__, [original: '12.3', line: 1], [12.3]}
+    assert string_to_quoted.("nil") == {:__block__, [line: 1], [nil]}
+    assert string_to_quoted.(":one") == {:__block__, [line: 1], [:one]}
+
+    args = [[{:__block__, [original: '1', line: 1], [1]}]]
+    assert string_to_quoted.("[1]") == {:__block__, [end_line: 1, line: 1], args}
+
+    args = [{{:__block__, [line: 1], [:ok]}, {:__block__, [line: 1], [:test]}}]
+    assert string_to_quoted.("{:ok, :test}") == {:__block__, [end_line: 1, line: 1], args}
+
     assert string_to_quoted.(~s("""\nhello\n""")) ==
-           {:__block__, [format: :bin_heredoc, line: 1], ["hello\n"]}
+             {:__block__, [format: :bin_heredoc, line: 1], ["hello\n"]}
+
     assert string_to_quoted.("'''\nhello\n'''") ==
-           {:__block__, [format: :list_heredoc, line: 1], ['hello\n']}
+             {:__block__, [format: :list_heredoc, line: 1], ['hello\n']}
   end
 
   test "string_to_quoted/2 with :formatter_metadata adds newlines to blocks" do


  test "path manipulation" do
    path = Path.join(__DIR__, "fixtures")
    Code.prepend_path path
    assert to_charlist(path) in :code.get_path

    Code.delete_path path
    refute to_charlist(path) in :code.get_path
  end
end

        functions: [{Kernel, [is_atom: 1]}],
        macros: [{Kernel, [and: 2]}],
        aliases: [{K, Kernel}],
        requires: [Kernel]
      ]

      code = "is_atom(:foo) and K.is_list([])"
