Permalink
Browse files

test for html5 self-closing tags

Commit 170f752 changed the output to an html self-closing tag style
causing the Short testcase to fail:

```
 - Shortcut test                  [FAIL]
= input:button
Actual output (condensed):
 | '<input type="button" class="button" value="$1" name="$2">$0'
Actual output:
 | <input type="button" class="button" value="$1" name="$2">$0
Expected:
 | <input type="button" class="button" value="$1" name="$2" />$0
```

Update the testcase so that it matches the new output.
  • Loading branch information...
1 parent 7010319 commit 262c9bfa4915a520ddcabf783150cd23526ee084 @nixon nixon committed Dec 20, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 sparkup-unittest.py
View
@@ -45,7 +45,7 @@ class SparkupTest:
},
'Shortcut test': {
'input': 'input:button',
- 'output': '<input type="button" class="button" value="$1" name="$2" />$0'
+ 'output': '<input type="button" class="button" value="$1" name="$2">$0'
},
'Shortcut synonym test': {
'input': 'button',

0 comments on commit 262c9bf

Please sign in to comment.