aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-03-13 10:59:12 -0700
committerAlon Zakai <alonzakai@gmail.com>2014-03-17 10:17:53 -0700
commit6470a3033d466c6b0a7bc58ef638da6513142bef (patch)
treeffdbe8b76021f0aa8bbc4d49b7e8ecfa26db5391 /src
parenta0402f5e7f54543ff2c6e5c0bb8029055ac8c6eb (diff)
fix relooper test
Diffstat (limited to 'src')
-rw-r--r--src/relooper/test.cpp2
-rw-r--r--src/relooper/test.txt8
2 files changed, 5 insertions, 5 deletions
diff --git a/src/relooper/test.cpp b/src/relooper/test.cpp
index 2b25001b..78de9e64 100644
--- a/src/relooper/test.cpp
+++ b/src/relooper/test.cpp
@@ -312,7 +312,7 @@ int main() {
printf("\n\n", "the_var");
r.Render();
- puts(buffer);
+ puts(r.GetOutputBuffer());
}
if (1) {
diff --git a/src/relooper/test.txt b/src/relooper/test.txt
index 1fa205ba..7d79e037 100644
--- a/src/relooper/test.txt
+++ b/src/relooper/test.txt
@@ -324,10 +324,6 @@
label = 1;
L0: while(1) {
switch(label|0) {
- case 3: {
- // block C
- break;
- }
case 1: {
// block A
if (check == 10) {
@@ -357,6 +353,10 @@
}
break;
}
+ case 3: {
+ // block C
+ break;
+ }
}
}