- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TestParseGlob (0.26 sec)
-
src/html/template/multi_test.go
_, err = template.ParseFiles("testdata/file1.tmpl", "testdata/file2.tmpl") if err != nil { t.Fatalf("error parsing files: %v", err) } testExecute(multiExecTests, template, t) } func TestParseGlob(t *testing.T) { _, err := ParseGlob("DOES NOT EXIST") if err == nil { t.Error("expected error for non-existent file; got none") } _, err = New("error").ParseGlob("[x") if err == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 06 15:48:16 UTC 2022 - 8K bytes - Viewed (0) -
src/text/template/multi_test.go
_, err = template.ParseFiles("testdata/file1.tmpl", "testdata/file2.tmpl") if err != nil { t.Fatalf("error parsing files: %v", err) } testExecute(multiExecTests, template, t) } func TestParseGlob(t *testing.T) { _, err := ParseGlob("DOES NOT EXIST") if err == nil { t.Error("expected error for non-existent file; got none") } _, err = New("error").ParseGlob("[x") if err == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 08 10:48:29 UTC 2022 - 11.7K bytes - Viewed (0)