Created
May 21, 2014 16:50
-
-
Save knewter/14ad2bec7b89769b5f73 to your computer and use it in GitHub Desktop.
elixir regex inspect tests
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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