Skip to content

Commit

Permalink
test validating thta no matter stored case contains works.
Browse files Browse the repository at this point in the history
  • Loading branch information
aricart committed Sep 26, 2024
1 parent e958021 commit 6656676
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions v2/types_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,13 @@ func TestTagList(t *testing.T) {
AssertEquals(false, tags.Contains("ONE"), t)
}

func TestTagListUpper(t *testing.T) {
tags := TagList{"One"}
AssertEquals(true, tags.Contains("one"), t)
a := []string(tags)
AssertEquals(true, a[0] == "One", t)
}

func TestStringList(t *testing.T) {
slist := StringList{}

Expand Down

0 comments on commit 6656676

Please sign in to comment.