File tree 1 file changed +4
-3
lines changed
dbclient/mongodb/src/test/java/io/helidon/dbclient/mongodb
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright (c) 2019, 2023 Oracle and/or its affiliates.
2
+ * Copyright (c) 2019, 2024 Oracle and/or its affiliates.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
22
22
23
23
import org .junit .jupiter .api .Test ;
24
24
25
- import static org .junit .jupiter .api .Assertions .assertEquals ;
25
+ import static org .hamcrest .CoreMatchers .is ;
26
+ import static org .hamcrest .MatcherAssert .assertThat ;
26
27
27
28
/**
28
29
* Unit test for {@link StatementParsers}.
@@ -44,7 +45,7 @@ void testStatementWithParameters() {
44
45
.replace ("$idmax" , String .valueOf (mapping .get ("idmax" )));
45
46
NamedParser parser = new NamedParser (stmtIn , mapping );
46
47
String stmtOut = parser .convert ();
47
- assertEquals ( stmtExp , stmtOut );
48
+ assertThat ( stmtOut , is ( stmtExp ) );
48
49
}
49
50
50
51
}
You can’t perform that action at this time.
0 commit comments