Skip to content

Commit 87cb33f

Browse files
authored
Fixed tests
1 parent 915a1f3 commit 87cb33f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adapter/src/test/java/com/iluwatar/adapter/AdapterPatternTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public void setup() {
6666
*/
6767
@Test
6868
public void testAdapter() {
69-
RowingBoat captain = (RowingBoat) beans.get(ROWING_BEAN);
69+
Captain captain = (Captain) beans.get(ROWING_BEAN);
7070

7171
// when captain moves
7272
captain.row();

0 commit comments

Comments
 (0)