summaryrefslogtreecommitdiff
path: root/tests/examplefiles/example_elixir.ex
diff options
context:
space:
mode:
authorPeter Suschlik <peter@suschlik.de>2013-07-11 16:26:10 +0200
committerPeter Suschlik <peter@suschlik.de>2013-07-11 16:26:10 +0200
commit4a1025bde9060f1691dece31cd0b06ef0da6e980 (patch)
treeb5f832761921940d8f3adf72594f220df43566e1 /tests/examplefiles/example_elixir.ex
parent1ea0fa53d253eae501f0a48611dd01493240b34d (diff)
downloadpygments-4a1025bde9060f1691dece31cd0b06ef0da6e980.tar.gz
Elixir's lexer should be greedy on single quoted strings.
After this commit this code will be highlighted correctly: HashDict.new [{'A', 0}, {'T', 0}, {'C', 0}, {'G', 0}]
Diffstat (limited to 'tests/examplefiles/example_elixir.ex')
-rw-r--r--tests/examplefiles/example_elixir.ex4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/examplefiles/example_elixir.ex b/tests/examplefiles/example_elixir.ex
index 2e92163d..e3ce7816 100644
--- a/tests/examplefiles/example_elixir.ex
+++ b/tests/examplefiles/example_elixir.ex
@@ -360,4 +360,6 @@ defmodule Module do
raise ArgumentError, message:
"could not call #{fun} on module #{module} because it was already compiled"
end
-end \ No newline at end of file
+end
+
+HashDict.new [{'A', 0}, {'T', 0}, {'C', 0}, {'G', 0}]