Skip to content

Instantly share code, notes, and snippets.

@knewter
Created May 21, 2014 16:50
Show Gist options
  • Save knewter/14ad2bec7b89769b5f73 to your computer and use it in GitHub Desktop.
Save knewter/14ad2bec7b89769b5f73 to your computer and use it in GitHub Desktop.
elixir regex inspect tests
1) test inspecting (RegexTest)
test/elixir/regex_test.exs:172
Assertion with == failed
code: "~r\"\\d+\\n\"" == inspect(sigil_r(<<"\\d+\\n">>, []))
lhs: "~r\"\\d+\\n\""
rhs: "~r\"\\\\d+\\n\""
stacktrace:
test/elixir/regex_test.exs:173
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment