- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TestMissingMapKey (0.36 sec)
-
src/html/template/exec_test.go
t.Errorf("%s did not error", test.expr) continue } if b.String() != test.truth { t.Errorf("%s: want %s; got %s", test.expr, test.truth, b.String()) } } } func TestMissingMapKey(t *testing.T) { data := map[string]int{ "x": 99, } tmpl, err := New("t1").Parse("{{.x}} {{.y}}") if err != nil { t.Fatal(err) } var b strings.Builder
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Feb 24 21:59:12 UTC 2024 - 57.6K bytes - Viewed (0) -
src/text/template/exec_test.go
t.Errorf("%s did not error", test.expr) continue } if b.String() != test.truth { t.Errorf("%s: want %s; got %s", test.expr, test.truth, b.String()) } } } func TestMissingMapKey(t *testing.T) { data := map[string]int{ "x": 99, } tmpl, err := New("t1").Parse("{{.x}} {{.y}}") if err != nil { t.Fatal(err) } var b strings.Builder
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 22:23:55 UTC 2024 - 60.1K bytes - Viewed (0)