Skip to content

Commit

Permalink
Checkstyle Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mehyil committed Jun 2, 2017
1 parent 4b1ad4f commit c25ab60
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/test/java/org/cactoos/text/ReplacedTextTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,14 @@ public void replaceText() {

@Test
public void notReplaceTextWhenSubstringNotFound() {
final String text = "HelloAgain!";
MatcherAssert.assertThat(
"Can't replace a text",
"Replace a text abnormally",
new ReplacedText(
new StringAsText("Hello!"),
new StringAsText(text),
"xyz", "i"
),
new TextHasString("Hello!")
new TextHasString(text)
);
}
}

0 comments on commit c25ab60

Please sign in to comment.