diff --git a/test/test1.html b/test/test1.html index 2f042524..d79c2aac 100644 --- a/test/test1.html +++ b/test/test1.html @@ -103,7 +103,7 @@ var t = document.getElementById("the-text"); - equals(true, (t && t.getAttribute("d") == "text"), "Did not import element"); + equals(true, (t && t.nodeName == "text"), "Did not import element"); equals(null, t.getAttribute("d"), "Imported a with a d attribute"); });