mirror of
https://github.com/overte-org/overte.git
synced 2025-08-07 08:39:43 +02:00
Update JSBakerTest.cpp
This commit is contained in:
parent
5c14c7c3b9
commit
cae1560708
1 changed files with 0 additions and 3 deletions
|
@ -71,9 +71,6 @@ void JSBakerTest::setTestCases() {
|
||||||
|
|
||||||
//No semicolon to terminate an expression, instead a new line used for termination
|
//No semicolon to terminate an expression, instead a new line used for termination
|
||||||
_testCases.emplace_back("var x=5\nvar y=6;", "var x=5\nvar y=6;");
|
_testCases.emplace_back("var x=5\nvar y=6;", "var x=5\nvar y=6;");
|
||||||
|
|
||||||
//a + ++b is minified as a+++b, interpreted as a++ + b. Ensure original script has correct parantheses
|
|
||||||
_testCases.emplace_back("a + ++b", "a+++b");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void JSBakerTest::testJSBaking() {
|
void JSBakerTest::testJSBaking() {
|
||||||
|
|
Loading…
Reference in a new issue