From 6656676c8994ab55d21979c5716f67b21771db33 Mon Sep 17 00:00:00 2001 From: Alberto Ricart Date: Thu, 26 Sep 2024 11:05:15 -0500 Subject: [PATCH] test validating thta no matter stored case contains works. --- v2/types_test.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/v2/types_test.go b/v2/types_test.go index 34d1fa4..91811bb 100644 --- a/v2/types_test.go +++ b/v2/types_test.go @@ -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{}