]> Cypherpunks repositories - gostls13.git/commitdiff
archive/tar: spell license correctly in example
authorJoe Tsai <joetsai@digital-static.net>
Wed, 16 Dec 2015 19:26:26 +0000 (11:26 -0800)
committerRuss Cox <rsc@golang.org>
Thu, 17 Dec 2015 02:46:41 +0000 (02:46 +0000)
Change-Id: Ice85d161f026a991953bd63ecc6ec80f8d06dfbd
Reviewed-on: https://go-review.googlesource.com/17901
Run-TryBot: Joe Tsai <joetsai@digital-static.net>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/archive/tar/example_test.go

index 2317f44e9632436498980111d0f90f7080372d55..5f0ce2f4029b34c9b5e6cf13f3023d2df951b749 100644 (file)
@@ -26,7 +26,7 @@ func Example() {
        }{
                {"readme.txt", "This archive contains some text files."},
                {"gopher.txt", "Gopher names:\nGeorge\nGeoffrey\nGonzo"},
-               {"todo.txt", "Get animal handling licence."},
+               {"todo.txt", "Get animal handling license."},
        }
        for _, file := range files {
                hdr := &tar.Header{
@@ -76,5 +76,5 @@ func Example() {
        // Geoffrey
        // Gonzo
        // Contents of todo.txt:
-       // Get animal handling licence.
+       // Get animal handling license.
 }