From 1e2bd012e5fa297ccbb1f076238bd2a96e02ab0f Mon Sep 17 00:00:00 2001 From: 3pointer Date: Wed, 29 Jun 2022 14:23:19 +0800 Subject: [PATCH] fix fmt --- br/pkg/task/backup_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/br/pkg/task/backup_test.go b/br/pkg/task/backup_test.go index b9e83b9f43e18..25d6de8ee66fb 100644 --- a/br/pkg/task/backup_test.go +++ b/br/pkg/task/backup_test.go @@ -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())