This commit is contained in:
Timo Hocker 2020-05-06 11:07:09 +02:00
parent aae79c4f79
commit acf8004497

View File

@ -61,7 +61,7 @@ test ('throw on invalid name', (t) => {
t.throws (() => {
const n = new Node ('564#+-.,/@', 'parent');
return n.toString ();
}, { message: 'invalid name specified' });
}, { message: 'invalid node name 564#+-.,/@' });
});
test ('leave numbers after the first letter', (t) => {