Skip to content

Commit

Permalink
Added imports, fixed test.
Browse files Browse the repository at this point in the history
  • Loading branch information
goodsign committed Nov 1, 2012
1 parent 6947412 commit cc9f49d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions behavior_adaptive_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ package seelog
import (
"strconv"
"testing"
"io/ioutil"
"bufio"
"bytes"
"io"
"errors"
"fmt"
)

func countSequencedRowsInFile(filePath string) (int64, error) {
Expand Down
2 changes: 1 addition & 1 deletion writers_bufferedwriter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func TestFlushByTimePeriod(t *testing.T) {

bytes := []byte("Hello")

for i := 0; i < 1; i++ {
for i := 0; i < 2; i++ {
writer.ExpectBytes(bytes)
bufferedWriter.Write(bytes)
writer.MustNotExpectWithDelay(0.2 * 1e8)
Expand Down

0 comments on commit cc9f49d

Please sign in to comment.