Skip to content

Commit d01bb7a

Browse files
author
Daniël van de Burgt
committed
test browser/index.js - script & style tag - assertSame doesn't appear to handle strings
1 parent b3297c2 commit d01bb7a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/browser/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ exports.tests = {
141141
var scriptHtml = '<script>alert("hello world")</script>';
142142
head.innerHTML = scriptHtml;
143143

144-
assertSame("original and processed", head.innerHTML, scriptHtml);
144+
assertEquals("original and processed", head.innerHTML, scriptHtml);
145145

146146
},
147147
parse_styletags : function() {
@@ -151,7 +151,7 @@ exports.tests = {
151151
var styleHtml = '<style>body: {color: #fff;}</style>';
152152
head.innerHTML = styleHtml;
153153

154-
assertSame("original and processed", head.innerHTML, styleHtml);
154+
assertEquals("original and processed", head.innerHTML, styleHtml);
155155

156156
},
157157
parse_doublespacetags : function() {

0 commit comments

Comments
 (0)