diff options
author | Robert Griesemer <gri@golang.org> | 2009-05-06 16:28:18 -0700 |
---|---|---|
committer | Robert Griesemer <gri@golang.org> | 2009-05-06 16:28:18 -0700 |
commit | 90cad520ffe6ac64ce86ab3b565c416ae49a5532 (patch) | |
tree | 60de43a9a94067372c490519717e4e00795f23dd /usr/gri/pretty/format_test.go | |
parent | 948830c5c18991765d84159bcda6636734440f88 (diff) | |
download | golang-90cad520ffe6ac64ce86ab3b565c416ae49a5532.tar.gz |
semi-weekly snapshot:
- format-driven pretty printing now handles all of Go code
- better error handling
R=r
OCL=28370
CL=28372
Diffstat (limited to 'usr/gri/pretty/format_test.go')
-rw-r--r-- | usr/gri/pretty/format_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
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", |