(t *testing.T, r *bufio.Reader, expected string)
| 69 | } |
| 70 | |
| 71 | func assertLine(t *testing.T, r *bufio.Reader, expected string) { |
| 72 | actual, err := r.ReadString('\n') |
| 73 | assert.Nil(t, err) |
| 74 | assert.Equal(t, expected, actual) |
| 75 | } |
| 76 | |
| 77 | func TestDecodeTinyFile(t *testing.T) { |
| 78 | ex := "this is not a git-lfs file!" |
no test coverage detected