summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorByron Alley <byron@byronalley.com>2020-11-01 01:48:28 -0400
committerDavid Peter <sharkdp@users.noreply.github.com>2020-11-01 09:46:54 +0100
commit3dc5fc54dff6c6819d2f02c5d52934673d2b98d7 (patch)
treeaf48bc9b6b8c1625bc945fd0f54620dbf88db705
parentbac84b4c8bbb72440423890ffb8221c49c11a986 (diff)
Import syntax regression test for Ruby Haml
-rw-r--r--tests/syntax-tests/highlighted/Ruby Haml/test.html.haml15
-rw-r--r--tests/syntax-tests/source/Ruby Haml/test.html.haml15
2 files changed, 30 insertions, 0 deletions
diff --git a/tests/syntax-tests/highlighted/Ruby Haml/test.html.haml b/tests/syntax-tests/highlighted/Ruby Haml/test.html.haml
new file mode 100644
index 00000000..06a46d43
--- /dev/null
+++ b/tests/syntax-tests/highlighted/Ruby Haml/test.html.haml
@@ -0,0 +1,15 @@
+%html
+ %head
+ %title Test Title
+ %body
+ %navigation
+ = render :partial => "navigation_top"
+ %h1= page.title
+ %p
+ Here is a point to emphasize:
+ %strong.highlighted#search_item_found= item1.text
+ %span{:class => "fancy", :id => "fancy1"}= item2.text
+ .special= special.text
+ %ol
+ %li First
+ %li Second
diff --git a/tests/syntax-tests/source/Ruby Haml/test.html.haml b/tests/syntax-tests/source/Ruby Haml/test.html.haml
new file mode 100644
index 00000000..8ec3d80c
--- /dev/null
+++ b/tests/syntax-tests/source/Ruby Haml/test.html.haml
@@ -0,0 +1,15 @@
+%html
+ %head
+ %title Test Title
+ %body
+ %navigation
+ = render :partial => "navigation_top"
+ %h1= page.title
+ %p
+ Here is a point to emphasize:
+ %strong.highlighted#search_item_found= item1.text
+ %span{:class => "fancy", :id => "fancy1"}= item2.text
+ .special= special.text
+ %ol
+ %li First
+ %li Second