diff options
author | Gary Gregory <garydgregory@gmail.com> | 2023-02-11 10:31:21 -0500 |
---|---|---|
committer | Gary Gregory <garydgregory@gmail.com> | 2023-02-11 10:31:21 -0500 |
commit | 47a92f98791e61f895c759f7e4800e16f956f766 (patch) | |
tree | 05c3d332eb896a0f87d03b2a11cc54b378740558 | |
parent | 95a0e2b09bc4a3a363e5ab1c853d002fb74ad7af (diff) | |
download | apache-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.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 |