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 e2ac317 commit 1647dbaCopy full SHA for 1647dba
modules/util/util_test.go
@@ -241,7 +241,7 @@ func TestReserveLineBreakForTextarea(t *testing.T) {
241
assert.Equal(t, ReserveLineBreakForTextarea("test\r\ndata\r\n"), "test\ndata\n")
242
}
243
244
-func TestDefaultArg(t *testing.T) {
+func TestOptionalArg(t *testing.T) {
245
foo := func(other any, optArg ...int) int {
246
return OptionalArg(optArg)
247
0 commit comments