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 291291 <version >1.18.8</version >
292292 <scope >test</scope >
293293 </dependency >
294- <dependency >
295- <groupId >org.hamcrest</groupId >
296- <artifactId >hamcrest</artifactId >
297- <version >3.0</version >
298- <scope >test</scope >
299- </dependency >
300294
301295 <!-- Override transitive plexus-utils to ensure a CVE-free version.
302296 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