mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-07 13:12:39 +02:00
Update JSBakerTest.cpp
This commit is contained in:
parent
cae1560708
commit
da8b2d2137
1 changed files with 6 additions and 0 deletions
|
@ -71,6 +71,12 @@ void JSBakerTest::setTestCases() {
|
|||
|
||||
//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;");
|
||||
|
||||
//a + ++b is minified as a+ ++b.
|
||||
_testCases.emplace_back("a + ++b", "a + ++b");
|
||||
|
||||
//a - --b is minified as a- --b.
|
||||
_testCases.emplace_back("a - --b", "a - --b");
|
||||
}
|
||||
|
||||
void JSBakerTest::testJSBaking() {
|
||||
|
|
Loading…
Reference in a new issue