From 3dc5fc54dff6c6819d2f02c5d52934673d2b98d7 Mon Sep 17 00:00:00 2001 From: Byron Alley Date: Sun, 1 Nov 2020 01:48:28 -0400 Subject: [PATCH] Import syntax regression test for Ruby Haml --- .../highlighted/Ruby Haml/test.html.haml | 15 +++++++++++++++ .../syntax-tests/source/Ruby Haml/test.html.haml | 15 +++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 tests/syntax-tests/highlighted/Ruby Haml/test.html.haml create mode 100644 tests/syntax-tests/source/Ruby Haml/test.html.haml 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