Skip to content

Commit

Permalink
check if state is case sensative
Browse files Browse the repository at this point in the history
  • Loading branch information
willr3 committed Mar 27, 2024
1 parent 4f7a5a3 commit f077236
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/test/java/io/hyperfoil/tools/qdup/StateTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,14 @@

public class StateTest extends SshTestBase{

@Test
public void case_sensative(){
State s = new State("");
s.set("build",true);
assertTrue(s.has("build"));
assertFalse(s.has("Build"));
assertFalse(s.has("BUILD"));
}

@Test
public void has_jsonpath_search_found(){
Expand Down

0 comments on commit f077236

Please sign in to comment.