summaryrefslogtreecommitdiff
path: root/tests/examplefiles/hash_syntax.rb
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2014-01-09 17:14:07 +0100
committerGeorg Brandl <georg@python.org>2014-01-09 17:14:07 +0100
commit2140f455b5b59d7e29d520c27b6eb9d2db30d006 (patch)
treebc48c372a71d661f361c6945e82738edcc113a76 /tests/examplefiles/hash_syntax.rb
parent846195f0fb24e724a611d601494fa5056936b5bc (diff)
parent8f1d30b59f7720cf99ed508ac720eb7126161e2b (diff)
downloadpygments-2140f455b5b59d7e29d520c27b6eb9d2db30d006.tar.gz
Merged in rwtolbert/pygments-main (pull request #238)
Added lexer for new Hy language, a variant of Lisp running under Python
Diffstat (limited to 'tests/examplefiles/hash_syntax.rb')
-rw-r--r--tests/examplefiles/hash_syntax.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/examplefiles/hash_syntax.rb b/tests/examplefiles/hash_syntax.rb
new file mode 100644
index 00000000..35b27723
--- /dev/null
+++ b/tests/examplefiles/hash_syntax.rb
@@ -0,0 +1,5 @@
+{ :old_syntax => 'ok' }
+{ 'stings as key' => 'should be ok' }
+{ new_syntax: 'broken until now' }
+{ withoutunderscore: 'should be ok' }
+{ _underscoreinfront: 'might be ok, if I understand the pygments code correct' }