fix
This commit is contained in:
parent
aae79c4f79
commit
acf8004497
@ -61,7 +61,7 @@ test ('throw on invalid name', (t) => {
|
|||||||
t.throws (() => {
|
t.throws (() => {
|
||||||
const n = new Node ('564#+-.,/@', 'parent');
|
const n = new Node ('564#+-.,/@', 'parent');
|
||||||
return n.toString ();
|
return n.toString ();
|
||||||
}, { message: 'invalid name specified' });
|
}, { message: 'invalid node name 564#+-.,/@' });
|
||||||
});
|
});
|
||||||
|
|
||||||
test ('leave numbers after the first letter', (t) => {
|
test ('leave numbers after the first letter', (t) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user