From 060cc52a5e4cc098c96f6c33e93bf22262bdb5bc Mon Sep 17 00:00:00 2001 From: "Ilya.Kazakevich" Date: Wed, 7 Nov 2018 17:31:46 +0300 Subject: [PATCH] test fix: remove redundant space before "")); + Assert.assertThat("No diff link", text, Matchers.containsString("")); Assert.assertThat("Wrong actual", text, Matchers.containsString("Got")); Assert.assertThat("Wrong actual", text, Matchers.containsString("2")); Assert.assertThat("Wrong expected", text, Matchers.containsString("Expected")); diff --git a/python/testSrc/com/jetbrains/env/python/testing/PythonPyTestingTest.java b/python/testSrc/com/jetbrains/env/python/testing/PythonPyTestingTest.java index 3fdc7ee8eb8a..3ae1086a9757 100644 --- a/python/testSrc/com/jetbrains/env/python/testing/PythonPyTestingTest.java +++ b/python/testSrc/com/jetbrains/env/python/testing/PythonPyTestingTest.java @@ -85,7 +85,7 @@ public final class PythonPyTestingTest extends PyEnvTestCase { final String expectedConsoleText = "Expected :expected\n" + "Actual :actual\n" + - " "; + ""; Assert.assertThat("No diff", runner.getAllConsoleText(), Matchers.containsString(expectedConsoleText)); } });