Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix button testcase

Commit f594060 removed the button synonym which caused the Shortcut
synonym testcase to fail:

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

Update test case so that it matches actual desired button output.
  • Loading branch information...
commit 9bc9b3d3ad7579f8a63192071e6f7b99861b6610 1 parent 262c9bf
@nixon nixon authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  sparkup-unittest.py
View
2  sparkup-unittest.py
@@ -49,7 +49,7 @@ class SparkupTest:
},
'Shortcut synonym test': {
'input': 'button',
- 'output': '<input type="button" class="button" value="$1" name="$2" />$0'
+ 'output': '<button>$1</button>$0',
},
'Child test': {
'input': 'div>ul>li',
Please sign in to comment.
Something went wrong with that request. Please try again.