--------------------------------------------------------------------------- PluginFiles.ReadFile ---------------------------------------------------------------------------
(t *testing.T)
| 81 | // --------------------------------------------------------------------------- |
| 82 | |
| 83 | func TestPluginFiles_ReadFile_Found(t *testing.T) { |
| 84 | p := newTestPlugin(t) |
| 85 | |
| 86 | b, err := p.files.ReadFile("html/public/index.html") |
| 87 | require.NoError(t, err) |
| 88 | assert.Contains(t, string(b), "hello") |
| 89 | } |
| 90 | |
| 91 | func TestPluginFiles_ReadFile_DataOverlay(t *testing.T) { |
| 92 | p := newTestPlugin(t) |
nothing calls this directly
no test coverage detected