test logging improved
authorIlya.Kazakevich <Ilya.Kazakevich@jetbrains.com>
Thu, 3 Sep 2015 14:08:12 +0000 (17:08 +0300)
committerIlya.Kazakevich <Ilya.Kazakevich@jetbrains.com>
Thu, 3 Sep 2015 14:08:12 +0000 (17:08 +0300)
python/testSrc/com/jetbrains/python/testing/pytest/PyTestTracebackParserTest.java

index 4863083d1b45167a1175b032327241e2f38429f1..10eb1f914d5e0cc71b919886cc4f1ae48072ce29 100644 (file)
@@ -103,7 +103,7 @@ public final class PyTestTracebackParserTest {
       final LinkInTrace trace = new PyTestTracebackParser().findLinkInTrace(line);
       if (trace != null) {
         final boolean removeResult = requiredStrings.remove(trace.getFileName() + " - " + trace.getLineNumber());
-        Assert.assertTrue(String.format("Unexpected file found %s", trace.getFileName()),
+        Assert.assertTrue(String.format("Unexpected file found %s line %s", trace.getFileName(), trace.getLineNumber()),
                           removeResult);
       }
     }