Mercurial > hg > graal-compiler
diff graal/com.oracle.truffle.sl.test/src/com/oracle/truffle/sl/test/TernaryTest.java @ 9258:07f8d136a05e
Truffle API changes for the Frame API. Introduction of Assumptions class.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Tue, 23 Apr 2013 15:34:06 +0200 |
parents | b2161263e9f2 |
children | 71991b7a0f14 |
line wrap: on
line diff
--- a/graal/com.oracle.truffle.sl.test/src/com/oracle/truffle/sl/test/TernaryTest.java Tue Apr 23 15:08:11 2013 +0200 +++ b/graal/com.oracle.truffle.sl.test/src/com/oracle/truffle/sl/test/TernaryTest.java Tue Apr 23 15:34:06 2013 +0200 @@ -28,13 +28,13 @@ public class TernaryTest extends AbstractTest { private static String[] INPUT = new String[] { -"function main { " + -" print #(1 < 2) ? 1 : 2;" + -" print #(2 < 1) ? 100000000000000 : 1; ", -" print #(1 < 2) ? 100000000000000 : 1; ", -" print #(2 < 1) ? \"wrong\" : \"true\";", -" print #(2 < 1) ? \"wrong\" : 1;", -"} ", + "function main { " + + " print #(1 < 2) ? 1 : 2;" + + " print #(2 < 1) ? 100000000000000 : 1; ", + " print #(1 < 2) ? 100000000000000 : 1; ", + " print #(2 < 1) ? \"wrong\" : \"true\";", + " print #(2 < 1) ? \"wrong\" : 1;", + "} ", }; private static String[] OUTPUT = new String[] {