refactor(lang_spec): Add missing ;s and clang-format

This commit is contained in:
Victor Berchet 2015-06-02 17:07:13 +02:00
parent c9d636aa11
commit 0b43e3cf32

View File

@ -10,7 +10,8 @@ import {
} from 'angular2/src/facade/lang';
export function main() {
describe('RegExp', () => {it('should expose the index for each match', () => {
describe('RegExp', () => {
it('should expose the index for each match', () => {
var re = RegExpWrapper.create('(!)');
var matcher = RegExpWrapper.matcher(re, '0!23!567!!');
var indexes = [];
@ -24,12 +25,15 @@ export function main() {
}
expect(indexes).toEqual([1, 4, 8, 9]);
})});
});
});
describe('const', () => {it('should support const expressions both in TS and Dart', () => {
describe('const', () => {
it('should support const expressions both in TS and Dart', () => {
const numbers = CONST_EXPR([1, 2, 3]);
expect(numbers).toEqual([1, 2, 3]);
})});
});
});
describe('String', () => {
var upper, lower;