Skip to content

Commit

Permalink
Merge pull request #292 from fpapon/SHIRO-812
Browse files Browse the repository at this point in the history
[SHIRO-812] Remove splitKeyValue test
  • Loading branch information
fpapon authored Apr 15, 2021
2 parents 13697c0 + 3f4a1ce commit cc13903
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions config/core/src/test/groovy/org/apache/shiro/config/IniTest.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -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 ";
Expand Down

0 comments on commit cc13903

Please sign in to comment.