Skip to content

Commit

Permalink
refactor: removing \r on text to zipper
Browse files Browse the repository at this point in the history
  • Loading branch information
gp-pereira committed Nov 21, 2024
1 parent b100335 commit bdce362
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/support/refactor_case.ex
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ defmodule Refactorex.RefactorCase do

def text_to_zipper(text) do
text
|> String.replace("\r", "")
|> Sourceror.parse_string!()
|> Sourceror.Zipper.zip()
end
Expand Down

0 comments on commit bdce362

Please sign in to comment.