(t *testing.T)
| 30 | } |
| 31 | } |
| 32 | |
| 33 | func TestReadFileMissingFile(t *testing.T) { |
| 34 | s := ReadFile(filepath.Join(t.TempDir(), "nope.txt"), 0, 0) |
| 35 | if !strings.HasPrefix(s, "(read error:") { |
| 36 | t.Fatalf("expected (read error: ...) string, got %q", s) |
| 37 | } |
| 38 | } |
| 39 | |
| 40 | // TestReadFileWindowsOversizeContent: a file past one window comes back as a |
nothing calls this directly
no test coverage detected