File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/test/java/ru/lanwen/verbalregex Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ public void captureAfterNewLineHasGroupNumberOne() throws Exception {
131
131
.capture ().find (some ).endCapture ().then (text )
132
132
.build ();
133
133
134
- assertEquals (some , expression .getText (lineBreak + some + text , 1 ));
134
+ assertThat (some , equalTo ( expression .getText (lineBreak + some + text , 1 ) ));
135
135
}
136
136
137
137
@ Test
@@ -146,7 +146,7 @@ public void captureAfterNewLineHasANamedGroup() {
146
146
.capture (captureName ).find (some ).endCapture ().then (text )
147
147
.build ();
148
148
149
- assertEquals (some ,
150
- expression .getText (lineBreak + some + text , captureName ));
149
+ assertThat (some ,
150
+ equalTo ( expression .getText (lineBreak + some + text , captureName ) ));
151
151
}
152
152
}
You can’t perform that action at this time.
0 commit comments