diff options
Diffstat (limited to 'main/tests/test_math.cpp')
-rw-r--r-- | main/tests/test_math.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/main/tests/test_math.cpp b/main/tests/test_math.cpp index 14ae81ad26..11aa164709 100644 --- a/main/tests/test_math.cpp +++ b/main/tests/test_math.cpp @@ -213,8 +213,9 @@ class GetClassAndNamespace { tk_string += res; } else { - if (code[idx] == '\n') + if (code[idx] == '\n') { line++; + } tk_string += code[idx]; } idx++; @@ -338,8 +339,9 @@ public: tk = get_token(); } - if (error) + if (error) { return ERR_PARSE_ERROR; + } return OK; } @@ -571,8 +573,9 @@ MainLoop *test() { break; } } - if (success) + if (success) { break; + } } print_line("DONE"); |