\
-
Alice
\
-
has
\
-
a cat
\
+
\
+
Alice
\
+
has
\
+
a cat
\
\
+
some text
\
');
});
+
+ test('remove list', function() {
+ var xml = '\
+
\
+ \
+
Alice
\
+
has
\
+
a cat
\
+
\
+ some text
\
+ ';
+ var c = new canvas.Canvas(xml);
+ var item = c.getNode({klass: 'item'})[1];
+ c.removeList({pointer: item});
+ assert.xmlEqual(c.toXML(), '\
+
\
+ Alice
\
+ has
\
+ a cat
\
+ some text
\
+ ');
+ });
});
});
\ No newline at end of file