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:21:33 UTC

[shiro] branch 1.7.x updated: [SHIRO-812] Remove splitKeyValue test

This is an automated email from the ASF dual-hosted git repository.

fpapon pushed a commit to branch 1.7.x
in repository https://gitbox.apache.org/repos/asf/shiro.git


The following commit(s) were added to refs/heads/1.7.x by this push:
     new 5cddd74  [SHIRO-812] Remove splitKeyValue test
5cddd74 is described below

commit 5cddd741749f6a018ba6ce8947cb3022ac842408
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  ";