(t *testing.T)
| 102 | } |
| 103 | |
| 104 | func TestMissingGetReturnsNoEnt(t *testing.T) { |
| 105 | px, ds := NewProxiedDisk(t) |
| 106 | defer cleanUp(ds) |
| 107 | foo := &test.Blob{Contents: "foo"} |
| 108 | |
| 109 | blob, _, err := px.Fetch(ctxbg, foo.BlobRef()) |
| 110 | if err != os.ErrNotExist { |
| 111 | t.Errorf("expected ErrNotExist; got %v", err) |
| 112 | } |
| 113 | if blob != nil { |
| 114 | t.Errorf("expected nil blob; got a value") |
| 115 | } |
| 116 | } |
| 117 | |
| 118 | func TestProxyCache(t *testing.T) { |
| 119 | px, ds := NewProxiedDisk(t) |
nothing calls this directly
no test coverage detected