(t *testing.T)
| 182 | } |
| 183 | |
| 184 | func TestSizedBlobRefString(t *testing.T) { |
| 185 | sr := SizedRef{Ref: MustParse("abc-1234"), Size: 456} |
| 186 | want := "[abc-1234; 456 bytes]" |
| 187 | if got := sr.String(); got != want { |
| 188 | t.Errorf("SizedRef.String() = %q, want %q", got, want) |
| 189 | } |
| 190 | } |
| 191 | |
| 192 | func TestRefStringMinusOne(t *testing.T) { |
| 193 | br := MustParse("abc-1234") |