We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6797d05 commit 23ee694Copy full SHA for 23ee694
.gitignore
@@ -25,3 +25,4 @@ _testmain.go
25
*.prof
26
27
*~
28
+.idea/
t_strings_test.go
@@ -211,6 +211,12 @@ func TestStringManipulation(t *testing.T) {
211
`{{ coalesce .StrEmpty "Something else" }}`,
212
"Something else",
213
},
214
+ // NOK! The following will failed the template.Execute
215
+ // before the coalesce function can do anything
216
+ // {
217
+ // `{{ coalesce .StrNone "Not exist" }}`,
218
+ // "Not exist",
219
+ // },
220
}
221
222
testStringManipulation(t, testData)
0 commit comments