diff options
| author | Michael Williamson <mike@zwobble.org> | 2015-10-14 19:17:07 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2015-10-14 19:17:07 +0100 |
| commit | e0397dcd7f650e86898ceab97eedc5753494d9f5 (patch) | |
| tree | e448fe8a0699e42756682d06a8b70e73a47c520e /tests/html | |
| parent | 46ad965f936563829a7c0549a5eb1af89155ee48 (diff) | |
Rename html.element to html.freshElement
Diffstat (limited to 'tests/html')
| -rw-r--r-- | tests/html/ast.tests.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/html/ast.tests.js b/tests/html/ast.tests.js index c2a1479..04db5f7 100644 --- a/tests/html/ast.tests.js +++ b/tests/html/ast.tests.js @@ -13,8 +13,8 @@ describe("HTML ast", function() { test("children of elements are collapsed", function() { assert.deepEqual( - html.element("p", {}, [html.text("Hello")]), - html.element("p", {}, [html.fragment([html.text("Hello")])])); + html.freshElement("p", {}, [html.text("Hello")]), + html.freshElement("p", {}, [html.fragment([html.text("Hello")])])); }); }); |
