Fix a test case by the description

Should test with Node type with extra properties.
This commit is contained in:
Junyoung Choi
2017-09-07 03:48:33 +09:00
parent fc6a0fb8fa
commit 9a6f7da2bb
+1
View File
@@ -61,6 +61,7 @@ file.message('test', position);
file.message('test', {
type: 'ramdom node',
position,
extraValue: 'extra tango',
});
// But, it must reject any malformed position
file.message('test', { start: 'invalid point' }); // $ExpectError