Skip to content

Commit 926fecc

Browse files
FrankYang0529derekbit
authored andcommitted
test: fix error assertion
Signed-off-by: PoAn Yang <[email protected]>
1 parent 1a2975c commit 926fecc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

sparse/test/client_test.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -252,8 +252,7 @@ func TestSyncAnyFile(t *testing.T) {
252252
func testSyncAnyFile(t *testing.T, src, dst string, directIO, fastSync bool) {
253253
// Sync
254254
go func() {
255-
err := rest.TestServer(context.Background(), port, dst, timeout)
256-
assert.Nil(t, err)
255+
_ = rest.TestServer(context.Background(), port, dst, timeout)
257256
}()
258257
err := SyncFile(src, localhost+":"+port, timeout, directIO, fastSync)
259258

0 commit comments

Comments
 (0)