Permalink
Browse files

Ensure indents are ignored in multiline comments

  • Loading branch information...
1 parent e0c6969 commit 4164a878f6a4cec98d538ecc5ef6be3dbf34050e @norman norman committed Apr 30, 2012
Showing with 6 additions and 1 deletion.
  1. +1 −1 README.md
  2. +5 −0 tests.json
View
@@ -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
@@ -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" : ""
}
},

0 comments on commit 4164a87

Please sign in to comment.