Skip to content

Commit 1647dba

Browse files
committed
fix test name
1 parent e2ac317 commit 1647dba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/util/util_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ func TestReserveLineBreakForTextarea(t *testing.T) {
241241
assert.Equal(t, ReserveLineBreakForTextarea("test\r\ndata\r\n"), "test\ndata\n")
242242
}
243243

244-
func TestDefaultArg(t *testing.T) {
244+
func TestOptionalArg(t *testing.T) {
245245
foo := func(other any, optArg ...int) int {
246246
return OptionalArg(optArg)
247247
}

0 commit comments

Comments
 (0)