You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shiro.apache.org by fp...@apache.org on 2021/04/15 08:17:46 UTC
[shiro] branch master updated: [SHIRO-812] Remove splitKeyValue test
This is an automated email from the ASF dual-hosted git repository.
fpapon pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shiro.git
The following commit(s) were added to refs/heads/master by this push:
new 3f4a1ce [SHIRO-812] Remove splitKeyValue test
new cc13903 Merge pull request #292 from fpapon/SHIRO-812
3f4a1ce is described below
commit 3f4a1cebde7b60fa6c132eb0a6e0516277020fc9
Author: francois papon <fp...@apache.org>
AuthorDate: Wed Apr 14 18:58:12 2021 +0200
[SHIRO-812] Remove splitKeyValue test
---
.../src/test/groovy/org/apache/shiro/config/IniTest.groovy | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/config/core/src/test/groovy/org/apache/shiro/config/IniTest.groovy b/config/core/src/test/groovy/org/apache/shiro/config/IniTest.groovy
index bfd6882..7df61c7 100644
--- a/config/core/src/test/groovy/org/apache/shiro/config/IniTest.groovy
+++ b/config/core/src/test/groovy/org/apache/shiro/config/IniTest.groovy
@@ -166,17 +166,6 @@ public class IniTest {
assertEquals("*:*", kv[1])
}
- /**
- * Tests if an escaped separator char will not be recognized as such.
- */
- @Test
- public void testSplitKeyValueEscapedEquals() {
- String test = "Truth\\=Beauty";
- String[] kv = Ini.Section.splitKeyValue(test);
- assertEquals("Truth", kv[0]);
- assertEquals("Beauty", kv[1]);
- }
-
@Test(expected = IllegalArgumentException.class)
public void testSplitKeyValueNoValue() {
String test = " Truth ";