We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f455cd8 commit 2ba7646Copy full SHA for 2ba7646
twin/screen_test.go
@@ -428,6 +428,11 @@ func TestInterruptableReader_waitForReadReadyFile(t *testing.T) {
428
assert.NilError(t, err)
429
assert.Equal(t, n, 1)
430
431
+ // Rewind so we can see the "x"
432
+ seek, err := tempFile.Seek(0, 0)
433
+ assert.NilError(t, err)
434
+ assert.Equal(t, seek, int64(0))
435
+
436
// Expect read-ready immediately
437
testMe := newInterruptableReader(tempFile)
438
ready, err := testMe.waitForReadReady(time.Hour)
0 commit comments