add single quote tests to JS baking tests

This commit is contained in:
Stephen Birarda 2018-03-22 11:07:06 -07:00
parent e46a8f022c
commit ab4f110ea4

View file

@ -66,6 +66,8 @@ void JSBakerTest::setTestCases() {
_testCases.emplace_back("'abcd1234$%^&[](){}'\na", "'abcd1234$%^&[](){}'\na");
_testCases.emplace_back("\"abcd1234$%^&[](){}\"\na", "\"abcd1234$%^&[](){}\"\na");
_testCases.emplace_back("`abcd1234$%^&[](){}`\na", "`abcd1234$%^&[](){}`a");
_testCases.emplace_back("\' \';", "\' \';");
_testCases.emplace_back("\'//single line comment\nvar b=2;\';", "\'//single line comment\nvar b=2;\';");
// Edge Cases