Skip to content

Commit b85a97a

Browse files
DOC-4232 fix for test fail on CI build
1 parent f23ce44 commit b85a97a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

doctests/stream_tutorial_test.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -269,11 +269,9 @@ func ExampleClient_raceusa() {
269269
}).Result()
270270

271271
if err != nil {
272-
fmt.Println(err)
272+
// fmt.Println(err)
273273
// >>> ERR The ID specified in XADD is equal or smaller than the target stream top item
274274
}
275-
276-
fmt.Println(res10)
277275
// STEP_END
278276

279277
// STEP_START xadd_7
@@ -292,11 +290,13 @@ func ExampleClient_raceusa() {
292290
fmt.Println(res11) // >>> 0-3
293291
// STEP_END
294292

293+
// REMOVE_START
294+
UNUSED(res10)
295+
// REMOVE_END
296+
295297
// Output:
296298
// 0-1
297299
// 0-2
298-
// ERR The ID specified in XADD is equal or smaller than the target stream top item
299-
//
300300
// 0-3
301301
}
302302

0 commit comments

Comments
 (0)