Updating tests to recent change in warnings format.
authorJan Lahoda <jlahoda@netbeans.org>
Tue, 15 Nov 2011 13:28:23 +0100
changeset 71341876aab0159
parent 712 ba9977cbc901
child 714 7bb1a471ce94
Updating tests to recent change in warnings format.
cmdline/tool/test/unit/src/org/netbeans/modules/jackpot30/cmdline/MainTest.java
     1.1 --- a/cmdline/tool/test/unit/src/org/netbeans/modules/jackpot30/cmdline/MainTest.java	Tue Nov 15 12:38:11 2011 +0100
     1.2 +++ b/cmdline/tool/test/unit/src/org/netbeans/modules/jackpot30/cmdline/MainTest.java	Tue Nov 15 13:28:23 2011 +0100
     1.3 @@ -96,10 +96,10 @@
     1.4              "}\n";
     1.5  
     1.6          doRunCompiler(golden,
     1.7 -                      "${workdir}/src/test/Test.java:3:Usage of .size() == 0 can be replaced with .isEmpty()\n" +
     1.8 +                      "${workdir}/src/test/Test.java:3: warning: Usage of .size() == 0 can be replaced with .isEmpty()\n" +
     1.9                        "        boolean b1 = c.size() == 0;\n" +
    1.10                        "                     ^\n" +
    1.11 -                      "${workdir}/src/test/Test.java:4:Usage of .size() == 0 can be replaced with .isEmpty()\n" +
    1.12 +                      "${workdir}/src/test/Test.java:4: warning: Usage of .size() == 0 can be replaced with .isEmpty()\n" +
    1.13                        "\tboolean b2 = c.size() == 0;\n" +
    1.14                        "\t             ^\n",
    1.15                        null,