Mercurial > hg > graal-jvmci-8
diff graal/com.oracle.truffle.sl.test/src/com/oracle/truffle/sl/test/AddTest.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/AddTest.java Tue Apr 23 15:08:11 2013 +0200 +++ b/graal/com.oracle.truffle.sl.test/src/com/oracle/truffle/sl/test/AddTest.java Tue Apr 23 15:34:06 2013 +0200 @@ -28,25 +28,25 @@ public class AddTest extends AbstractTest { private static String[] INPUT = new String[] { -"function main { ", -" print 3 + 4; ", -" print 3 + \"4\"; ", -" print \"3\" + 4; ", -" print \"3\" + \"4\"; ", -" print 3 + 4000000000000; ", -" print 3000000000000 + 4; ", -" print 3000000000000 + 4000000000000; ", -"} ", + "function main { ", + " print 3 + 4; ", + " print 3 + \"4\"; ", + " print \"3\" + 4; ", + " print \"3\" + \"4\"; ", + " print 3 + 4000000000000; ", + " print 3000000000000 + 4; ", + " print 3000000000000 + 4000000000000; ", + "} ", }; private static String[] OUTPUT = new String[] { -"7", -"34", -"34", -"34", -"4000000000003", -"3000000000004", -"7000000000000", + "7", + "34", + "34", + "34", + "4000000000003", + "3000000000004", + "7000000000000", }; @Test