fix(ExpressionParser): undefined is undefined (was null)

This commit is contained in:
Victor Berchet
2016-08-04 17:04:30 -07:00
committed by Alex Rickabaugh
parent 0ca05eee45
commit b4613ab2d2
2 changed files with 8 additions and 1 deletions

View File

@ -92,6 +92,8 @@ export function main() {
it('should parse null', () => { checkAction('null'); });
it('should parse undefined', () => { checkAction('undefined'); });
it('should parse unary - expressions', () => {
checkAction('-1', '0 - 1');
checkAction('+1', '1');