(t *testing.T)
| 205 | } |
| 206 | |
| 207 | func TestRender_LayoutPartialNotFound(t *testing.T) { |
| 208 | testFS := createTestFS(testFile{"layout.html", `{{partial "invalid.html"}}`}) |
| 209 | |
| 210 | if _, err := New(testFS, WithLayout("layout.html")); err == nil { |
| 211 | t.Errorf("New() expected error, got nil") |
| 212 | } |
| 213 | } |
| 214 | |
| 215 | func TestRender_ViewPartialNotFound(t *testing.T) { |
| 216 | testFS := createTestFS(testFile{"view.html", `{{partial "invalid.html"}}`}) |
nothing calls this directly
no test coverage detected