fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
smartxml: fix
[fnpeditor.git]
/
src
/
wlxml
/
extensions
/
list
/
list.test.js
diff --git
a/src/wlxml/extensions/list/list.test.js
b/src/wlxml/extensions/list/list.test.js
index
396600b
..
2d47778
100644
(file)
--- a/
src/wlxml/extensions/list/list.test.js
+++ b/
src/wlxml/extensions/list/list.test.js
@@
-405,7
+405,7
@@
describe('Lists extension', function() {
var test = doc.extractItems({item1: nestedListItem, item2: nestedListItem, merge: false});
var test = doc.extractItems({item1: nestedListItem, item2: nestedListItem, merge: false});
- expect(test
).to.equal(true, 'extraction status ok
');
+ expect(test
.sameNode(nestedListItem)).to.equal(true, 'first item returned
');
var sectionContents = section.contents(),
extractedItem = sectionContents[1];
var sectionContents = section.contents(),
extractedItem = sectionContents[1];