Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Ensure indents are ignored in multiline comments

  • Loading branch information...
commit 4164a878f6a4cec98d538ecc5ef6be3dbf34050e 1 parent e0c6969
@norman norman authored
Showing with 6 additions and 1 deletion.
  1. +1 −1  README.md
  2. +5 −0 tests.json
View
2  README.md
@@ -44,7 +44,7 @@ using Ruby 1.8.x, you'll also need to install `json`:
Then, running the Ruby test suite is easy:
- ruby ruby_haml_test.rb
+ ruby -rminitest/autorun ruby_haml_test.rb
At the moment, running the tests with Ruby 1.8.7 fails because of issues with
the JSON library. Please use 1.9.2 until this is resolved.
View
5 tests.json
@@ -433,6 +433,11 @@
"a multiply nested silent comment" : {
"haml" : "-#\n %div\n foo",
"html" : ""
+ },
+
+ "a multiply nested silent comment with inconsistent indents" : {
+ "haml" : "-#\n %div\n foo",
+ "html" : ""
}
},
Please sign in to comment.
Something went wrong with that request. Please try again.