2014-10-01 19:56:44 -04:00
|
|
|
import {describe, it, expect} from 'test_lib/test_lib';
|
|
|
|
|
|
|
|
export function main() {
|
|
|
|
describe('lang', function() {
|
|
|
|
it('string interpolation', function() {
|
|
|
|
expect(`${123}-'${456}"`).toEqual('123-\'456"');
|
|
|
|
});
|
2014-11-09 10:06:20 -05:00
|
|
|
|
|
|
|
it('multiline string', function () {
|
|
|
|
expect(`1'
|
|
|
|
2"`).toEqual('1\'\n2"');
|
|
|
|
});
|
2014-10-01 19:56:44 -04:00
|
|
|
});
|
|
|
|
}
|