aboutsummaryrefslogtreecommitdiff
path: root/tests/html
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2016-12-10 22:01:20 +0000
committerMichael Williamson <mike@zwobble.org>2016-12-10 22:01:20 +0000
commit8661cad2a82b66254fff564f4a514cbd67ad371d (patch)
tree83cf43f5127b7e93575f3fd40ddeb8a1f41e7ee2 /tests/html
parentb870478788c35f9aa7902977938f253197b6d6d8 (diff)
Remove self-closing elements from AST
Diffstat (limited to 'tests/html')
-rw-r--r--tests/html/strip_empty_tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/html/strip_empty_tests.py b/tests/html/strip_empty_tests.py
index eb28f30..b72b50a 100644
--- a/tests/html/strip_empty_tests.py
+++ b/tests/html/strip_empty_tests.py
@@ -54,8 +54,8 @@ def empty_children_are_removed():
@istest
def self_closing_elements_are_never_empty():
assert_equal(
- [html.self_closing_element("br")],
- html.strip_empty([html.self_closing_element("br")]))
+ [html.element("br")],
+ html.strip_empty([html.element("br")]))
@istest