MCPcopy
hub / github.com/git-lfs/git-lfs / assertLine

Function assertLine

lfs/pointer_test.go:71–75  ·  view source on GitHub ↗
(t *testing.T, r *bufio.Reader, expected string)

Source from the content-addressed store, hash-verified

69}
70
71func 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
77func TestDecodeTinyFile(t *testing.T) {
78 ex := "this is not a git-lfs file!"

Callers 2

TestEncodeFunction · 0.85
TestEncodeExtensionsFunction · 0.85

Calls 1

EqualMethod · 0.45

Tested by

no test coverage detected