Skip to content

Commit ab0b42e

Browse files
committed
Upgrade to unexpected 7.1.0
1 parent 1aa49fa commit ab0b42e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"mocha-lcov-reporter": "0.0.2",
4242
"sinon": "1.14.1",
4343
"uglifyjs": "^2.4.10",
44-
"unexpected": "7.0.5",
44+
"unexpected": "7.1.0",
4545
"unexpected-sinon": "5.1.2"
4646
},
4747
"dependencies": {

test/unexpected-dom.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -744,7 +744,7 @@ describe('unexpected-dom', function () {
744744
'<div foo="bar">\n' +
745745
' hey // expected NodeList[ hey ] to satisfy [ \'there\' ]\n' +
746746
' //\n' +
747-
' // [\n' +
747+
' // DOMNodeList[\n' +
748748
' // hey // should equal \'there\'\n' +
749749
' // // -hey\n' +
750750
' // // +there\n' +
@@ -848,7 +848,7 @@ describe('unexpected-dom', function () {
848848
expect(document, 'to contain no elements matching', '.foo');
849849
}, 'to throw', 'expected <!DOCTYPE html><html><head></head><body>...</body></html> to contain no elements matching \'.foo\'\n' +
850850
'\n' +
851-
'[\n' +
851+
'DOMNodeList[\n' +
852852
' <div class="foo"></div> // should be removed\n' +
853853
']'
854854
);
@@ -861,7 +861,7 @@ describe('unexpected-dom', function () {
861861
expect(document, 'to contain no elements matching', '.foo');
862862
}, 'to throw', 'expected <!DOCTYPE html><html><head></head><body>......</body></html> to contain no elements matching \'.foo\'\n' +
863863
'\n' +
864-
'[\n' +
864+
'DOMNodeList[\n' +
865865
' <div class="foo"></div>, // should be removed\n' +
866866
' <div class="foo"></div> // should be removed\n' +
867867
']'

0 commit comments

Comments
 (0)