MCPcopy Index your code
hub / github.com/perkeep/perkeep / TestRefStringMinusOne

Function TestRefStringMinusOne

pkg/blob/ref_test.go:192–198  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

190}
191
192func TestRefStringMinusOne(t *testing.T) {
193 br := MustParse("abc-1234")
194 want := "abc-1233"
195 if got := br.StringMinusOne(); got != want {
196 t.Errorf("StringMinusOne = %q; want %q", got, want)
197 }
198}
199
200func TestMarshalBinary(t *testing.T) {
201 br := MustParse("abc-00ff4869")

Callers

nothing calls this directly

Calls 2

MustParseFunction · 0.85
StringMinusOneMethod · 0.80

Tested by

no test coverage detected