Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 5556994

Browse files
FrankYang0529derekbit
authored andcommittedJul 2, 2024·
test: fix error assertion
Signed-off-by: PoAn Yang <[email protected]>
1 parent 9de9631 commit 5556994

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)
Please sign in to comment.