aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGary Gregory <garydgregory@gmail.com>2023-02-11 10:31:21 -0500
committerGary Gregory <garydgregory@gmail.com>2023-02-11 10:31:21 -0500
commit47a92f98791e61f895c759f7e4800e16f956f766 (patch)
tree05c3d332eb896a0f87d03b2a11cc54b378740558
parent95a0e2b09bc4a3a363e5ab1c853d002fb74ad7af (diff)
downloadapache-commons-lang-47a92f98791e61f895c759f7e4800e16f956f766.tar.gz
Refactor system property access into a new SystemProperties class
-rw-r--r--src/test/java/org/apache/commons/lang3/SystemPropertiesTest.java2
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