This is an automated email from the ASF dual-hosted git repository.
vladimirsitnikov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jmeter.git
The following commit(s) were added to refs/heads/master by this push:
new f7e9673b89 test: fix
AbstractPropertyTest.testNormalizeListWithEmptyList so it accounts for
unmodifiable collection in normalizeList
f7e9673b89 is described below
commit f7e9673b899bb3c63806e435bb72319a3dbeebc4
Author: Vladimir Sitnikov <[email protected]>
AuthorDate: Fri Jun 16 10:04:03 2023 +0300
test: fix AbstractPropertyTest.testNormalizeListWithEmptyList so it
accounts for unmodifiable collection in normalizeList
---
.../org/apache/jmeter/testelement/property/AbstractPropertyTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/src/core/src/test/java/org/apache/jmeter/testelement/property/AbstractPropertyTest.java
b/src/core/src/test/java/org/apache/jmeter/testelement/property/AbstractPropertyTest.java
index 1299092dd0..9d42415128 100644
---
a/src/core/src/test/java/org/apache/jmeter/testelement/property/AbstractPropertyTest.java
+++
b/src/core/src/test/java/org/apache/jmeter/testelement/property/AbstractPropertyTest.java
@@ -69,7 +69,7 @@ public class AbstractPropertyTest {
public void testNormalizeListWithEmptyList() {
Collection<JMeterProperty> emptyCollection = Collections.emptyList();
Collection<JMeterProperty> newCollection =
dummyProperty.normalizeList(emptyCollection);
- assertThat(newCollection, CoreMatchers.nullValue());
+ assertThat(newCollection, CoreMatchers.equalTo(emptyCollection));
}
@Test