mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
test fix: remove redundant space before "<Click to see.."
This commit is contained in:
@@ -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));
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user