Skip to content

Commit

Permalink
fix fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
3pointer committed Jun 29, 2022
1 parent abac972 commit 1e2bd01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion br/pkg/task/backup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func TestParseTSString(t *testing.T) {
localTSO := uint64((localTimestamp << 18) * 1000)
require.Equal(t, localTSO, ts)

ts, err = ParseTSString("2021-01-01 01:42:23", true)
_, err = ParseTSString("2021-01-01 01:42:23", true)
require.Error(t, err)
require.Regexp(t, "must set timezone*", err.Error())

Expand Down

0 comments on commit 1e2bd01

Please sign in to comment.