Skip to content

Commit

Permalink
Fix discrepancy
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Vaillancourt <[email protected]>
  • Loading branch information
timvaillancourt committed Dec 25, 2023
1 parent 0dd2467 commit 9ca1171
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions go/logic/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func TestServerRunCPUProfile(t *testing.T) {

data, err := base64.StdEncoding.DecodeString(profile)
tests.S(t).ExpectNil(err)
tests.S(t).ExpectEquals(len(data), 106)
tests.S(t).ExpectNotEquals(len(data), 0)
tests.S(t).ExpectEquals(s.isCPUProfiling, int64(0))
})

Expand All @@ -60,7 +60,7 @@ func TestServerRunCPUProfile(t *testing.T) {

data, err := base64.StdEncoding.DecodeString(profile)
tests.S(t).ExpectNil(err)
tests.S(t).ExpectEquals(len(data), 106)
tests.S(t).ExpectNotEquals(len(data), 0)
tests.S(t).ExpectEquals(s.isCPUProfiling, int64(0))
})

Expand All @@ -75,7 +75,7 @@ func TestServerRunCPUProfile(t *testing.T) {

data, err := base64.StdEncoding.DecodeString(profile)
tests.S(t).ExpectNil(err)
tests.S(t).ExpectEquals(len(data), 10)
tests.S(t).ExpectNotEquals(len(data), 0)
tests.S(t).ExpectEquals(s.isCPUProfiling, int64(0))
})
}

0 comments on commit 9ca1171

Please sign in to comment.