(t *testing.T)
| 31 | ) |
| 32 | |
| 33 | func TestBlobFromURLPath(t *testing.T) { |
| 34 | br := blobFromURLPath("/foo/bar/camli/sha1-f1d2d2f924e986ac86fdf7b36c94bcdf32beec15") |
| 35 | if !br.Valid() { |
| 36 | t.Fatal("nothing found") |
| 37 | } |
| 38 | want := blob.MustParse("sha1-f1d2d2f924e986ac86fdf7b36c94bcdf32beec15") |
| 39 | if want != br { |
| 40 | t.Fatalf("got = %v; want %v", br, want) |
| 41 | } |
| 42 | } |
| 43 | |
| 44 | func TestServeBlobRef_UTF8(t *testing.T) { |
| 45 | testServeBlobContents(t, "foo", "text/plain; charset=utf-8") |
nothing calls this directly
no test coverage detected