Avoid manual step for creating array setters

This commit is contained in:
Phani Teja Marupaka
2020-06-15 17:18:38 -07:00
parent 3e9276271a
commit 0f0efe2a4c
9 changed files with 219 additions and 26 deletions

View File

@@ -23,7 +23,7 @@ func TestIsYaml1_1NonString(t *testing.T) {
{val: "2", expected: true},
{val: "true", expected: true},
{val: "1.0\nhello", expected: false}, // multiline strings should always be false
{val: "", expected: false}, // empty string should be considered a string
{val: "", expected: false}, // empty string should be considered a string
}
for k := range valueToTagMap {