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

commit 39f4ea2311636e2aac7bce7eddff8575270d827f
Author: Gary Gregory <[email protected]>
AuthorDate: Wed Jun 25 08:44:04 2025 -0400

    Refactor test
---
 src/test/java/org/apache/commons/lang3/SystemPropertiesTest.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/test/java/org/apache/commons/lang3/SystemPropertiesTest.java 
b/src/test/java/org/apache/commons/lang3/SystemPropertiesTest.java
index 43824498d..66fdd7f2e 100644
--- a/src/test/java/org/apache/commons/lang3/SystemPropertiesTest.java
+++ b/src/test/java/org/apache/commons/lang3/SystemPropertiesTest.java
@@ -31,6 +31,9 @@
 import org.junitpioneer.jupiter.SetSystemProperty;
 import org.junitpioneer.jupiter.SetSystemProperty.SetSystemProperties;
 
+@SetSystemProperties({
+    @SetSystemProperty(key = SystemPropertiesTest.KEY_SPACE_1, value = 
"value1"),
+    @SetSystemProperty(key = SystemPropertiesTest.KEY_TAB_1, value = "value2") 
})
 class SystemPropertiesTest {
 
     private static final String KEY_SPACE_1 = " ";
@@ -703,7 +706,6 @@ void testGetPathSeparator() {
     }
 
     @Test
-    @SetSystemProperties({ @SetSystemProperty(key = KEY_SPACE_1, value = 
"value1"), @SetSystemProperty(key = KEY_TAB_1, value = "value2") })
     void testGetProperty() {
         assertNull(SystemProperties.getProperty(null));
         assertNull(SystemProperties.getProperty(StringUtils.EMPTY));
@@ -712,7 +714,6 @@ void testGetProperty() {
     }
 
     @Test
-    @SetSystemProperties({ @SetSystemProperty(key = KEY_SPACE_1, value = 
"value1"), @SetSystemProperty(key = KEY_TAB_1, value = "value2") })
     void testGetPropertyStringString() {
         assertNull(SystemProperties.getProperty(null, (String) null));
         assertNull(SystemProperties.getProperty(StringUtils.EMPTY, (String) 
null));
@@ -725,7 +726,6 @@ void testGetPropertyStringString() {
     }
 
     @Test
-    @SetSystemProperties({ @SetSystemProperty(key = KEY_SPACE_1, value = 
"value1"), @SetSystemProperty(key = KEY_TAB_1, value = "value2") })
     void testGetPropertyStringSupplier() {
         assertNull(SystemProperties.getProperty(null, (Supplier<String>) 
null));
         assertNull(SystemProperties.getProperty(StringUtils.EMPTY, 
(Supplier<String>) null));

Reply via email to