summaryrefslogtreecommitdiff
path: root/spew
diff options
context:
space:
mode:
authorDave Collins <[email protected]>2013-02-07 18:42:39 -0600
committerDave Collins <[email protected]>2013-02-07 18:43:36 -0600
commit17273f26d75ee122b944811dc9374931693a666b (patch)
tree838670972844a9f135f65a6556da8fbfd3739e36 /spew
parent9628950a4051b1b2ed1e055bc9d15e88f57cbcc4 (diff)
Fix a couple of comment typos.
Diffstat (limited to 'spew')
-rw-r--r--spew/common_test.go2
-rw-r--r--spew/format.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/spew/common_test.go b/spew/common_test.go
index e999660..0743ff5 100644
--- a/spew/common_test.go
+++ b/spew/common_test.go
@@ -86,7 +86,7 @@ func (e customError) Error() string {
}
// stringizeWants converts a slice of wanted test output into a format suitable
-// for an test error message.
+// for a test error message.
func stringizeWants(wants []string) string {
s := ""
for i, want := range wants {
diff --git a/spew/format.go b/spew/format.go
index 49ef854..ca695fe 100644
--- a/spew/format.go
+++ b/spew/format.go
@@ -390,7 +390,7 @@ specifiers not handled by the custom formatter).
Typically this function shouldn't be called directly. It is much easier to make
use of the custom formatter by calling one of the convenience functions such as
-Printf, Println, or Printf.
+Printf, Println, or Fprintf.
*/
func NewFormatter(v interface{}) fmt.Formatter {
return newFormatter(&Config, v)