MCPcopy
hub / github.com/EngoEngine/engo / TestFilesUnload

Function TestFilesUnload

assets_test.go:166–171  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

164}
165
166func TestFilesUnload(t *testing.T) {
167 Files.Register(".test", &testLoader{})
168 if err := Files.Unload("test.test"); err != nil {
169 t.Errorf("unable to unload a file. error: %v", err)
170 }
171}
172
173func TestFilesUnloadNoFileLoader(t *testing.T) {
174 expected := "no `FileLoader` associated with this extension:"

Callers

nothing calls this directly

Calls 2

UnloadMethod · 0.65
RegisterMethod · 0.45

Tested by

no test coverage detected