Skip to content

Commit 32768a0

Browse files
committed
Issue codehaus-plexus#106: Move from Assert-J to Hamcrest
1 parent ea7e254 commit 32768a0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

plexus-compilers/plexus-compiler-javac/src/test/java/org/codehaus/plexus/compiler/javac/JavacCompilerTest.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
import java.io.StringReader;
1010
import java.util.List;
1111

12-
import static org.assertj.core.api.Assertions.assertThat;
12+
import static org.hamcrest.MatcherAssert.assertThat;
13+
import static org.hamcrest.collection.IsCollectionWithSize.hasSize;
1314

1415
/*
1516
* Licensed to the Apache Software Foundation (ASF) under one
@@ -72,6 +73,6 @@ void parseModernStream_withAnnotationProcessingErrors() throws IOException
7273
List<CompilerMessage> compilerMessages = JavacCompiler.parseModernStream( 1,
7374
new BufferedReader( new StringReader( input ) ) );
7475

75-
assertThat( compilerMessages ).hasSize( 1 );
76+
assertThat( compilerMessages, hasSize( 1 ) );
7677
}
7778
}

0 commit comments

Comments
 (0)