diff options
-rw-r--r-- | src/test/java/org/apache/commons/lang3/SystemPropertiesTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/java/org/apache/commons/lang3/SystemPropertiesTest.java b/src/test/java/org/apache/commons/lang3/SystemPropertiesTest.java index 0e9c99c65..46b282995 100644 --- a/src/test/java/org/apache/commons/lang3/SystemPropertiesTest.java +++ b/src/test/java/org/apache/commons/lang3/SystemPropertiesTest.java @@ -223,7 +223,7 @@ public class SystemPropertiesTest { @Test public void testGetUserCountry() { - assertNotNull(SystemProperties.getUserCountry()); + assertDoesNotThrow(SystemProperties::getUserCountry); } @Test |