File tree Expand file tree Collapse file tree
src/test/java/com/github/dockerjava Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44import static org .hamcrest .Matchers .equalTo ;
55import static org .hamcrest .Matchers .isEmptyString ;
66import static org .hamcrest .Matchers .not ;
7+ import static org .hamcrest .Matchers .containsString ;
78
89import java .io .IOException ;
910import java .lang .reflect .Method ;
@@ -164,7 +165,7 @@ public void asyncLogContainerWithSince() throws Exception {
164165
165166 loggingCallback .awaitCompletion ();
166167
167- assertFalse (loggingCallback .toString (). contains (snippet ));
168+ assertThat (loggingCallback .toString (), containsString (snippet ));
168169 }
169170
170171}
Original file line number Diff line number Diff line change 44import static org .hamcrest .Matchers .equalTo ;
55import static org .hamcrest .Matchers .isEmptyString ;
66import static org .hamcrest .Matchers .not ;
7+ import static org .hamcrest .Matchers .containsString ;
78
89import java .io .IOException ;
910import java .lang .reflect .Method ;
@@ -165,7 +166,7 @@ public void asyncLogContainerWithSince() throws Exception {
165166
166167 loggingCallback .awaitCompletion ();
167168
168- assertFalse (loggingCallback .toString (). contains (snippet ));
169+ assertThat (loggingCallback .toString (), containsString (snippet ));
169170 }
170171
171172}
You can’t perform that action at this time.
0 commit comments