diff options
author | Benoit Lamarche <benoitlamarche@google.com> | 2015-03-09 16:17:13 +0100 |
---|---|---|
committer | Benoit Lamarche <benoitlamarche@google.com> | 2015-03-09 16:30:16 +0000 |
commit | 89ee5fe59b1323a9a13eb978e08de6cd82126d48 (patch) | |
tree | 8d4356c6c636b80076f8d9b60b7dcf5e1d3dcb6e /jack-tests | |
parent | 3bc5d685e9d9b2d9eb50e12d00cce47972a62d22 (diff) | |
download | toolchain_jack-89ee5fe59b1323a9a13eb978e08de6cd82126d48.zip toolchain_jack-89ee5fe59b1323a9a13eb978e08de6cd82126d48.tar.gz toolchain_jack-89ee5fe59b1323a9a13eb978e08de6cd82126d48.tar.bz2 |
Fix testCommandLineError002
The test used to check that it printed the ECJ usage. We don't want
that anymore. Let's check that Jack does not crash and does not print
anything, for now at least.
Change-Id: I981b22be56382277c19daffbdf13f1fd32fbbab0
Diffstat (limited to 'jack-tests')
-rw-r--r-- | jack-tests/tests/com/android/jack/error/CommandLineErrorTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jack-tests/tests/com/android/jack/error/CommandLineErrorTest.java b/jack-tests/tests/com/android/jack/error/CommandLineErrorTest.java index ca85cba..30379d5 100644 --- a/jack-tests/tests/com/android/jack/error/CommandLineErrorTest.java +++ b/jack-tests/tests/com/android/jack/error/CommandLineErrorTest.java @@ -41,7 +41,7 @@ public class CommandLineErrorTest { } /** - * Checks that compilation end correctly when arguments define no source and no import. + * Checks that compilation ends correctly when arguments define no source and no import. */ @Test public void testCommandLineError002() throws Exception { @@ -60,7 +60,7 @@ public class CommandLineErrorTest { /* zipFile = */ false, ite.getSourceFolder()); } finally { Assert.assertEquals("", errOut.toString()); - Assert.assertTrue(out.toString().contains("Usage:")); + Assert.assertEquals("", out.toString()); } } |