Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate compile and syntax errors #566

Merged
merged 1 commit into from
Jul 8, 2017
Merged

Conversation

chadhietala
Copy link
Member

Part of #561.

This migrates tests previously known as "compiler-error-test.js" and tests within "initial-render-test.js". This PR moves the tests contained in those files to 2 new files, "invalid-html-errors-test.js" and "syntax-errors-test.js". The names of these files better describe what they are testing. Tests dealing with invalid html that would surface through the HTML Tokenizer are in the "invalid-html-errors" file, where invalid handlebars syntax test cases are in the "syntax-errrors" file. This allows us to compartmentalize the non-"just html" error cases into a single place.

@chadhietala chadhietala force-pushed the migrate-compiler-errors branch from c97c00c to 65b584a Compare July 8, 2017 02:36
@chadhietala chadhietala merged commit bd4d35e into master Jul 8, 2017
@chadhietala chadhietala deleted the migrate-compiler-errors branch July 8, 2017 02:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants