package ui

import "testing"

// TestNewParsesAllTemplates ensures ui.New() can parse every template
// registered under templates/pages/ without error. Run this after
// adding or editing any template file.
func TestNewParsesAllTemplates(t *testing.T) {
	if _, err := New(); err != nil {
		t.Fatalf("ui.New() returned error: %v", err)
	}
}
