Skip to content

Commit

Permalink
test: fix error assertion
Browse files Browse the repository at this point in the history
Signed-off-by: PoAn Yang <[email protected]>
  • Loading branch information
FrankYang0529 authored and derekbit committed Jul 2, 2024
1 parent 1a2975c commit 926fecc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sparse/test/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -252,8 +252,7 @@ func TestSyncAnyFile(t *testing.T) {
func testSyncAnyFile(t *testing.T, src, dst string, directIO, fastSync bool) {
// Sync
go func() {
err := rest.TestServer(context.Background(), port, dst, timeout)
assert.Nil(t, err)
_ = rest.TestServer(context.Background(), port, dst, timeout)
}()
err := SyncFile(src, localhost+":"+port, timeout, directIO, fastSync)

Expand Down

0 comments on commit 926fecc

Please sign in to comment.