This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-lang.git
The following commit(s) were added to refs/heads/master by this push:
new 47a92f987 Refactor system property access into a new SystemProperties
class
47a92f987 is described below
commit 47a92f98791e61f895c759f7e4800e16f956f766
Author: Gary Gregory <[email protected]>
AuthorDate: Sat Feb 11 10:31:21 2023 -0500
Refactor system property access into a new SystemProperties class
---
src/test/java/org/apache/commons/lang3/SystemPropertiesTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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