Skip to content

Commit

Permalink
💚 fix: fix unit test error
Browse files Browse the repository at this point in the history
  • Loading branch information
inhere committed Feb 25, 2023
1 parent 028ef72 commit ba0c414
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion strutil/split_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func TestCut(t *testing.T) {
assert.Eq(t, "hi", b)
assert.Eq(t, "inhere", a)

b, a = strutil.SplitKV(" name = inhere \n", ",")
b, a = strutil.SplitKV(" name = inhere \n", "=")
assert.Eq(t, "name", b)
assert.Eq(t, "inhere", a)

Expand Down

0 comments on commit ba0c414

Please sign in to comment.