test fix: remove redundant space before "<Click to see.."

This commit is contained in:
Ilya.Kazakevich
2018-11-07 17:35:15 +03:00
parent 17480a0449
commit 060cc52a5e
2 changed files with 2 additions and 2 deletions
@@ -111,7 +111,7 @@ public final class PythonDocTestingTest extends PyEnvTestCase {
@NotNull final String stderr,
@NotNull final String all, int exitCode) {
final String text = runner.getConsole().getText();
Assert.assertThat("No diff link", text, Matchers.containsString(" <Click to see difference>"));
Assert.assertThat("No diff link", text, Matchers.containsString("<Click to see difference>"));
Assert.assertThat("Wrong actual", text, Matchers.containsString("Got"));
Assert.assertThat("Wrong actual", text, Matchers.containsString("2"));
Assert.assertThat("Wrong expected", text, Matchers.containsString("Expected"));
@@ -85,7 +85,7 @@ public final class PythonPyTestingTest extends PyEnvTestCase {
final String expectedConsoleText = "Expected :expected\n" +
"Actual :actual\n" +
" <Click to see difference>";
"<Click to see difference>";
Assert.assertThat("No diff", runner.getAllConsoleText(), Matchers.containsString(expectedConsoleText));
}
});