(t *testing.T)
| 93 | } |
| 94 | |
| 95 | func TestLoadFileToBuffer_TSV(t *testing.T) { |
| 96 | b := createNewBuffer() |
| 97 | err := loadFileToBuffer("./data/test/tab_separated.tsv", b) |
| 98 | if err != nil { |
| 99 | t.Skipf("TSV test file not found: %v", err) |
| 100 | return |
| 101 | } |
| 102 | |
| 103 | if b.sep != '\t' { |
| 104 | t.Errorf("Expected tab separator, got %q", b.sep) |
| 105 | } |
| 106 | } |
| 107 | |
| 108 | func TestLoadFileToBuffer_EdgeCases(t *testing.T) { |
| 109 | t.Run("Empty file", func(t *testing.T) { |
nothing calls this directly
no test coverage detected