forked from tangled.org/core
this repo has no description
at master 670 B view raw
1package pages 2 3import ( 4 "html/template" 5 "tangled.org/core/appview/config" 6 "tangled.org/core/idresolver" 7 "testing" 8) 9 10func TestPages_funcMap(t *testing.T) { 11 tests := []struct { 12 name string // description of this test case 13 // Named input parameters for receiver constructor. 14 config *config.Config 15 res *idresolver.Resolver 16 want template.FuncMap 17 }{ 18 // TODO: Add test cases. 19 } 20 for _, tt := range tests { 21 t.Run(tt.name, func(t *testing.T) { 22 p := NewPages(tt.config, tt.res) 23 got := p.funcMap() 24 // TODO: update the condition below to compare got with tt.want. 25 if true { 26 t.Errorf("funcMap() = %v, want %v", got, tt.want) 27 } 28 }) 29 } 30}