fix(compiler): add missing support to string literals
Fixes #531 Closes #559
This commit is contained in:
@ -543,6 +543,12 @@ export function main() {
|
||||
expect(ast.expressions[1].name).toEqual('b');
|
||||
});
|
||||
});
|
||||
|
||||
describe('wrapLiteralPrimitive', () => {
|
||||
it('should wrap a literal primitive', () => {
|
||||
expect(createParser().wrapLiteralPrimitive("foo", null).eval(null)).toEqual("foo");
|
||||
});
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user