diff options
author | 2015-05-28 11:14:54 +0100 | |
---|---|---|
committer | 2015-05-28 11:57:49 +0100 | |
commit | a06d66a4ee60926127b9498b7ff0b3e37a24fccf (patch) | |
tree | 87ec5d72211d5c3446e1d80ee71eda77faffd6b3 /test/478-checker-inliner-nested-loop/src/Main.java | |
parent | b4e2fbbed28c3bcdb8fd0fee5a201ba78e1edf28 (diff) |
ART: Distinguish Checker lines from comments
In order to prevent tests passing due to lines with hard-to-spot
formatting errors begin ignored, e.g. by forgetting the colon after
"//CHECK", Checker will now require its assertions to start with "///"
or "##", respectivelly for Java and Smali. Such lines will never be
ignored and will fail the test unless successfully parsed.
Change-Id: I0da9a8f13eb96d950af8c85df17d1899a853a299
Diffstat (limited to 'test/478-checker-inliner-nested-loop/src/Main.java')
-rw-r--r-- | test/478-checker-inliner-nested-loop/src/Main.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/478-checker-inliner-nested-loop/src/Main.java b/test/478-checker-inliner-nested-loop/src/Main.java index df583d9302..aa023491a5 100644 --- a/test/478-checker-inliner-nested-loop/src/Main.java +++ b/test/478-checker-inliner-nested-loop/src/Main.java @@ -33,12 +33,12 @@ public class Main { return result; } - // CHECK-START: int Main.NestedLoop(int, int) inliner (before) - // CHECK-NOT: Mul + /// CHECK-START: int Main.NestedLoop(int, int) inliner (before) + /// CHECK-NOT: Mul - // CHECK-START: int Main.NestedLoop(int, int) inliner (after) - // CHECK: Mul - // CHECK-NOT: Mul + /// CHECK-START: int Main.NestedLoop(int, int) inliner (after) + /// CHECK: Mul + /// CHECK-NOT: Mul public static int NestedLoop(int max_x, int max_y) { int total = 0; |