2015-02-05 18:58:15 -05:00
|
|
|
import {describe, it, expect} from 'angular2/test_lib';
|
2014-10-01 19:56:44 -04:00
|
|
|
|
|
|
|
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
|
|
|
});
|
|
|
|
}
|