summaryrefslogtreecommitdiff
path: root/tests/examplefiles/example_elixir.ex
diff options
context:
space:
mode:
authorAlexei Sholik <alcosholik@gmail.com>2014-08-15 13:26:02 +0300
committerAlexei Sholik <alcosholik@gmail.com>2014-08-15 13:26:02 +0300
commit04e47f0f5ebd530eb9bc4380848d31279f01fb0b (patch)
tree78d5713932fe13c98bab6f72a8f6eeaf7a80882b /tests/examplefiles/example_elixir.ex
parent37368d865858e12278cc31f8bb6b46d27d63fb2c (diff)
downloadpygments-04e47f0f5ebd530eb9bc4380848d31279f01fb0b.tar.gz
[Elixir] Parse maps and tuples to make non-trivial and nested string interpolation work
Diffstat (limited to 'tests/examplefiles/example_elixir.ex')
-rw-r--r--tests/examplefiles/example_elixir.ex3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/examplefiles/example_elixir.ex b/tests/examplefiles/example_elixir.ex
index 3c3d72f3..27462268 100644
--- a/tests/examplefiles/example_elixir.ex
+++ b/tests/examplefiles/example_elixir.ex
@@ -129,7 +129,8 @@ end
# Structs
defmodule Second.Module do
s = %Long.Module.Name{name: "Silly"}
- %{s | height: {192, :cm}}
+ %Long.Module.Name{s | height: {192, :cm}}
+ ".. #{%Long.Module.Name{s | height: {192, :cm}}} .."
end
# Types, pseudo-vars, attributes