aboutsummaryrefslogtreecommitdiff
path: root/tests/test_other.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-03-16 11:20:26 -0700
committerAlon Zakai <alonzakai@gmail.com>2014-03-17 17:56:17 -0700
commitdf8919a0de5ff258eff86c7e7bfcf0e01d928d10 (patch)
treee898f5f53bf1afedd0370a7b58cee7545408b9f5 /tests/test_other.py
parentdc70532c6a3f624f8b501d64f7e26d140da8827d (diff)
fuse elses to remove unnecessary label settings and checks, after we simplified ifs
Diffstat (limited to 'tests/test_other.py')
-rw-r--r--tests/test_other.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_other.py b/tests/test_other.py
index 4a62384c..0c597e9f 100644
--- a/tests/test_other.py
+++ b/tests/test_other.py
@@ -2591,6 +2591,7 @@ int main()
main = src[src.find('function _main'):src.find('\n}', src.find('function _main'))]
actual_ifs = main.count('if (')
assert ifs == actual_ifs, main + ' : ' + str([ifs, actual_ifs])
+ #print main
test(r'''
#include <stdio.h>
@@ -2617,5 +2618,5 @@ int main()
}
return 0;
}
- ''', [8, 6, 6])
+ ''', [8, 5, 5])