File tree Expand file tree Collapse file tree
src/test/java/com/recurly/v3 Expand file tree Collapse file tree Original file line number Diff line number Diff line change 273273 <version >1.18.8</version >
274274 <scope >test</scope >
275275 </dependency >
276- <dependency >
277- <groupId >org.hamcrest</groupId >
278- <artifactId >hamcrest</artifactId >
279- <version >3.0</version >
280- <scope >test</scope >
281- </dependency >
282276
283277 <!-- Override transitive plexus-utils to ensure a CVE-free version.
284278 Pulled in via test-scoped jacoco-maven-plugin and surefire deps.
Original file line number Diff line number Diff line change 11package com .recurly .v3 ;
22
3- import static org .hamcrest .MatcherAssert .assertThat ;
4- import static org .hamcrest .Matchers .matchesPattern ;
53import static org .junit .jupiter .api .Assertions .assertThrows ;
4+ import static org .junit .jupiter .api .Assertions .assertTrue ;
65
76import org .junit .jupiter .api .Test ;
87
@@ -25,6 +24,6 @@ public void testCantInitializeWithoutApiKey() {
2524
2625 @ Test
2726 public void testRespondsWithValidApiVersion () {
28- assertThat (Client .API_VERSION , matchesPattern ("v\\ d{4}-\\ d{2}-\\ d{2}" ));
27+ assertTrue (Client .API_VERSION . matches ("v\\ d{4}-\\ d{2}-\\ d{2}" ));
2928 }
3029}
You can’t perform that action at this time.
0 commit comments