build: remove main() from specs (#21053)

PR Close #21053
This commit is contained in:
Misko Hevery
2017-12-16 14:42:55 -08:00
committed by Igor Minar
parent 47bcb5bc35
commit 47e251a80a
191 changed files with 424 additions and 424 deletions

View File

@ -58,7 +58,7 @@ function expectErrorToken(token: Token, index: any, message: string) {
expect(token.toString()).toEqual(message);
}
export function main() {
{
describe('lexer', () => {
describe('token', () => {
it('should tokenize a simple identifier', () => {

View File

@ -15,7 +15,7 @@ import {expect} from '@angular/platform-browser/testing/src/matchers';
import {unparse} from './unparser';
import {validate} from './validator';
export function main() {
(function(){
function createParser() { return new Parser(new Lexer()); }
function parseAction(text: string, location: any = null): ASTWithSource {
@ -604,4 +604,4 @@ export function main() {
});
});
});
}
})();