Skip to content

Commit

Permalink
Restored test-coverage back to 100% of drv_file.go
Browse files Browse the repository at this point in the history
  • Loading branch information
skx committed Feb 3, 2025
1 parent aee0a97 commit 5710e5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions consolein/drv_file_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ func TestNewlineN(t *testing.T) {
}
defer os.Remove(file.Name())

_, err = file.Write([]byte("newline: n\n--\nhi\n"))
_, err = file.Write([]byte("newline: n\npause-on-newline:true\n--\nhi\n"))
if err != nil {
t.Fatalf("failed to write to temporary file")
}
Expand Down Expand Up @@ -251,7 +251,7 @@ func TestNewlineM(t *testing.T) {
}
defer os.Remove(file.Name())

_, err = file.Write([]byte("newline: m\n--\nhi\n"))
_, err = file.Write([]byte("newline: m\npause-on-newline:false\n--\nhi\n"))
if err != nil {
t.Fatalf("failed to write to temporary file")
}
Expand Down

0 comments on commit 5710e5f

Please sign in to comment.