Introduced $ExpectError.

See https://github.com/Microsoft/dtslint#write-tests
This commit is contained in:
Cameron Martin
2018-11-27 09:13:03 +00:00
parent ebb397fb9e
commit 9b183dbac8
@@ -105,7 +105,7 @@ const BindingKindTest: Visitor = {
kind === 'const';
kind === 'let';
kind === 'var';
// The following should fail when uncommented
// kind === 'anythingElse';
// $ExpectError
kind === 'anythingElse';
},
};