Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

For current Ruby implementation, avoid identical test names

  • Loading branch information...
commit 01c416f5c0b5a5719de1ea234bbb1cb8ccc7db0a 1 parent 0f1a17f
enosis authored
Showing with 34 additions and 34 deletions.
  1. +34 −34 tests.json
View
68 tests.json
@@ -209,17 +209,17 @@
"tags with inline content" : {
- "a simple tag" : {
+ "Inline content simple tag" : {
"haml" : "%p hello",
"html" : "<p>hello</p>"
},
- "a tag with CSS" : {
+ "Inline content tag with CSS" : {
"haml" : "%p.class1 hello",
"html" : "<p class='class1'>hello</p>"
},
- "multiple simple tags" : {
+ "Inline content multiple simple tags" : {
"haml" : "%div\n %div\n %p text",
"html" : "<div>\n <div>\n <p>text</p>\n </div>\n</div>"
}
@@ -227,17 +227,17 @@
"tags with nested content" : {
- "a simple tag" : {
+ "Nested content simple tag" : {
"haml" : "%p\n hello",
"html" : "<p>\n hello\n</p>"
},
- "a tag with CSS" : {
+ "Nested content tag with CSS" : {
"haml" : "%p.class1\n hello",
"html" : "<p class='class1'>\n hello\n</p>"
},
- "multiple simple tags" : {
+ "Nested content multiple simple tags" : {
"haml" : "%div\n %div\n %p\n text",
"html" : "<div>\n <div>\n <p>\n text\n </p>\n </div>\n</div>"
}
@@ -246,22 +246,22 @@
"tags with HTML-style attributes": {
- "one attribute" : {
+ "HTML-style one attribute" : {
"haml" : "%p(a='b')",
"html" : "<p a='b'></p>"
},
- "multiple attributes" : {
+ "HTML-style multiple attributes" : {
"haml" : "%p(a='b' c='d')",
"html" : "<p a='b' c='d'></p>"
},
- "attributes separated with newlines" : {
+ "HTML-style attributes separated with newlines" : {
"haml" : "%p(a='b'\n c='d')",
"html" : "<p a='b' c='d'></p>"
},
- "an interpolated attribute" : {
+ "HTML-style interpolated attribute" : {
"haml" : "%p(a=\"#{var}\")",
"html" : "<p a='value'></p>",
"locals" : {
@@ -269,27 +269,27 @@
}
},
- "'class' as an attribute" : {
+ "HTML-style 'class' as an attribute" : {
"haml" : "%p(class='class1')",
"html" : "<p class='class1'></p>"
},
- "a tag with a CSS class and 'class' as an attribute" : {
+ "HTML-style tag with a CSS class and 'class' as an attribute" : {
"haml" : "%p.class2(class='class1')",
"html" : "<p class='class1 class2'></p>"
},
- "a tag with 'id' as an attribute" : {
+ "HTML-style tag with 'id' as an attribute" : {
"haml" : "%p(id='1')",
"html" : "<p id='1'></p>"
},
- "a tag with a CSS id and 'id' as an attribute" : {
+ "HTML-style tag with a CSS id and 'id' as an attribute" : {
"haml" : "%p#id(id='1')",
"html" : "<p id='id_1'></p>"
},
- "a tag with a variable attribute" : {
+ "HTML-style tag with a variable attribute" : {
"haml" : "%p(class=var)",
"html" : "<p class='hello'></p>",
"locals" : {
@@ -297,7 +297,7 @@
}
},
- "a tag with a CSS class and 'class' as a variable attribute" : {
+ "HTML-style tag with a CSS class and 'class' as a variable attribute" : {
"haml" : ".hello(class=var)",
"html" : "<div class='hello world'></div>",
"locals" : {
@@ -305,7 +305,7 @@
}
},
- "a tag multiple CSS classes (sorted correctly)" : {
+ "HTML-style tag multiple CSS classes (sorted correctly)" : {
"haml" : ".z(class=var)",
"html" : "<div class='a z'></div>",
"locals" : {
@@ -317,17 +317,17 @@
"tags with Ruby-style attributes": {
- "one attribute" : {
+ "Ruby-style one attribute" : {
"haml" : "%p{:a => 'b'}",
"html" : "<p a='b'></p>"
},
- "attributes hash with whitespace" : {
+ "Ruby-style attributes hash with whitespace" : {
"haml" : "%p{ :a => 'b' }",
"html" : "<p a='b'></p>"
},
- "an interpolated attribute" : {
+ "Ruby-style interpolated attribute" : {
"haml" : "%p{:a =>\"#{var}\"}",
"html" : "<p a='value'></p>",
"locals" : {
@@ -335,42 +335,42 @@
}
},
- "multiple attributes" : {
+ "Ruby-style multiple attributes" : {
"haml" : "%p{ :a => 'b', 'c' => 'd' }",
"html" : "<p a='b' c='d'></p>"
},
- "attributes separated with newlines" : {
+ "Ruby-style attributes separated with newlines" : {
"haml" : "%p{ :a => 'b',\n 'c' => 'd' }",
"html" : "<p a='b' c='d'></p>"
},
- "'class' as an attribute" : {
+ "Ruby-style 'class' as an attribute" : {
"haml" : "%p{:class => 'class1'}",
"html" : "<p class='class1'></p>"
},
- "a tag with a CSS class and 'class' as an attribute" : {
+ "Ruby-style tag with a CSS class and 'class' as an attribute" : {
"haml" : "%p.class2{:class => 'class1'}",
"html" : "<p class='class1 class2'></p>"
},
- "a tag with 'id' as an attribute" : {
+ "Ruby-style tag with 'id' as an attribute" : {
"haml" : "%p{:id => '1'}",
"html" : "<p id='1'></p>"
},
- "a tag with a CSS id and 'id' as an attribute" : {
+ "Ruby-style tag with a CSS id and 'id' as an attribute" : {
"haml" : "%p#id{:id => '1'}",
"html" : "<p id='id_1'></p>"
},
- "a tag with a CSS id and a numeric 'id' as an attribute" : {
+ "Ruby-style tag with a CSS id and a numeric 'id' as an attribute" : {
"haml" : "%p#id{:id => 1}",
"html" : "<p id='id_1'></p>"
},
- "a tag with a variable attribute" : {
+ "Ruby-style tag with a variable attribute" : {
"haml" : "%p{:class => var}",
"html" : "<p class='hello'></p>",
"locals" : {
@@ -378,7 +378,7 @@
}
},
- "a tag with a CSS class and 'class' as a variable attribute" : {
+ "Ruby-style tag with a CSS class and 'class' as a variable attribute" : {
"haml" : ".hello{:class => var}",
"html" : "<div class='hello world'></div>",
"locals" : {
@@ -386,7 +386,7 @@
}
},
- "a tag multiple CSS classes (sorted correctly)" : {
+ "Ruby-style tag multiple CSS classes (sorted correctly)" : {
"haml" : ".z{:class => var}",
"html" : "<div class='a z'></div>",
"locals" : {
@@ -398,12 +398,12 @@
"silent comments" : {
- "an inline comment" : {
+ "an inline silent comment" : {
"haml" : "-# hello",
"html" : ""
},
- "a nested comment" : {
+ "a nested silent comment" : {
"haml" : "-#\n hello",
"html" : ""
}
@@ -412,12 +412,12 @@
"markup comments" : {
- "an inline comment" : {
+ "an inline markup comment" : {
"haml" : "/ comment",
"html" : "<!-- comment -->"
},
- "a nested comment" : {
+ "a nested markup comment" : {
"haml" : "/\n comment\n comment2",
"html" : "<!--\n comment\n comment2\n-->"
}
Please sign in to comment.
Something went wrong with that request. Please try again.