feat(transpiler): Transform template strings to triple quoted Dart strings

This commit is contained in:
Tommy Odom
2014-11-09 10:06:20 -05:00
committed by Rado Kirov
parent 4f416694a5
commit 93f6d26f68
2 changed files with 8 additions and 4 deletions

View File

@ -5,5 +5,10 @@ export function main() {
it('string interpolation', function() {
expect(`${123}-'${456}"`).toEqual('123-\'456"');
});
it('multiline string', function () {
expect(`1'
2"`).toEqual('1\'\n2"');
});
});
}