From 90cad520ffe6ac64ce86ab3b565c416ae49a5532 Mon Sep 17 00:00:00 2001 From: Robert Griesemer Date: Wed, 6 May 2009 16:28:18 -0700 Subject: semi-weekly snapshot: - format-driven pretty printing now handles all of Go code - better error handling R=r OCL=28370 CL=28372 --- usr/gri/pretty/format_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr/gri/pretty/format_test.go') diff --git a/usr/gri/pretty/format_test.go b/usr/gri/pretty/format_test.go index 80401ba83..65ce83a4f 100644 --- a/usr/gri/pretty/format_test.go +++ b/usr/gri/pretty/format_test.go @@ -11,7 +11,7 @@ import ( func check(t *testing.T, form, expected string, args ...) { - result := format.Parse(form, nil).Sprint(args); + result := format.ParseOrDie(form, nil).Sprint(args); if result != expected { t.Errorf( "format : %s\nresult : `%s`\nexpected: `%s`\n\n", -- cgit v1.2.3