aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Tsai <joetsai@digital-static.net>2015-12-16 11:26:26 -0800
committerRuss Cox <rsc@golang.org>2015-12-17 02:46:41 +0000
commit2ae895c0ce36ffb607442ff053bd19cb5fcd6fd6 (patch)
tree76bf813ae31424470619ca15c170069f1c9a4965
parent64de502caa3f89560756f1fa8534c665cca9ea6c (diff)
downloadgo-2ae895c0ce36ffb607442ff053bd19cb5fcd6fd6.tar.gz
go-2ae895c0ce36ffb607442ff053bd19cb5fcd6fd6.zip
archive/tar: spell license correctly in example
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>
-rw-r--r--src/archive/tar/example_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/archive/tar/example_test.go b/src/archive/tar/example_test.go
index 2317f44e96..5f0ce2f402 100644
--- a/src/archive/tar/example_test.go
+++ b/src/archive/tar/example_test.go
@@ -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.
}