Skip to content

Commit

Permalink
Coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
ohler55 committed Aug 9, 2024
1 parent 5cdcaf8 commit 74b9fe2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions jp/match_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,7 @@ func TestPathMatchDoubleRoot(t *testing.T) {
tt.Equal(t, false, jp.PathMatch(jp.C("a"), jp.R().R().C("a")))
tt.Equal(t, false, jp.PathMatch(jp.C("a"), jp.A().A().C("a")))
}

func TestPathMatchSkipBracket(t *testing.T) {
tt.Equal(t, true, jp.PathMatch(jp.B().C("a"), jp.C("a")))
}

0 comments on commit 74b9fe2

Please sign in to comment.