Skip to content

Commit 0106d1c

Browse files
committed
Lint
1 parent 59ed662 commit 0106d1c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/integration/internal/tests/api/sandboxes/sandbox_timeout_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ func TestSandboxTimeoutExtendOnly_NoShortenWhenExtendOnlyTrue(t *testing.T) {
8080

8181
// The end time should remain the same (or very close, accounting for time precision)
8282
timeDiff := newEndTime.Sub(initialEndTime)
83-
assert.True(t, timeDiff.Abs() < 2*time.Second, "End time should not be shortened when extendOnly is true")
83+
assert.Less(t, timeDiff.Abs(), 2*time.Second, "End time should not be shortened when extendOnly is true")
8484
}
8585

8686
func TestSandboxTimeoutExtendOnly_ShortenWhenExtendOnlyFalse(t *testing.T) {

0 commit comments

Comments
 (0)