summaryrefslogtreecommitdiffstats
path: root/vendor/golang.org/x/text/unicode
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2017-08-17 17:19:06 -0700
committerGitHub <noreply@github.com>2017-08-17 17:19:06 -0700
commit96eab1202717e073782ec399a4e0820cae15b1bb (patch)
tree011012982be971c7e9ef91466f026bc0956ac9a2 /vendor/golang.org/x/text/unicode
parent2c895ee66eed626721135acfcc48254c6e3f3b29 (diff)
downloadchat-96eab1202717e073782ec399a4e0820cae15b1bb.tar.gz
chat-96eab1202717e073782ec399a4e0820cae15b1bb.tar.bz2
chat-96eab1202717e073782ec399a4e0820cae15b1bb.zip
Updating server dependancies. (#7246)
Diffstat (limited to 'vendor/golang.org/x/text/unicode')
-rw-r--r--vendor/golang.org/x/text/unicode/cldr/examples_test.go2
-rw-r--r--vendor/golang.org/x/text/unicode/cldr/resolve_test.go2
-rw-r--r--vendor/golang.org/x/text/unicode/cldr/slice_test.go2
-rw-r--r--vendor/golang.org/x/text/unicode/norm/transform_test.go4
4 files changed, 5 insertions, 5 deletions
diff --git a/vendor/golang.org/x/text/unicode/cldr/examples_test.go b/vendor/golang.org/x/text/unicode/cldr/examples_test.go
index a65e86e6c..1a69b0073 100644
--- a/vendor/golang.org/x/text/unicode/cldr/examples_test.go
+++ b/vendor/golang.org/x/text/unicode/cldr/examples_test.go
@@ -7,7 +7,7 @@ import (
)
func ExampleSlice() {
- var dr *cldr.CLDR // assume this is initalized
+ var dr *cldr.CLDR // assume this is initialized
x, _ := dr.LDML("en")
cs := x.Collations.Collation
diff --git a/vendor/golang.org/x/text/unicode/cldr/resolve_test.go b/vendor/golang.org/x/text/unicode/cldr/resolve_test.go
index 7b19cef87..3d8edaec8 100644
--- a/vendor/golang.org/x/text/unicode/cldr/resolve_test.go
+++ b/vendor/golang.org/x/text/unicode/cldr/resolve_test.go
@@ -39,7 +39,7 @@ type fieldTest struct {
var testStruct = fieldTest{
Common: Common{
- name: "mapping", // exclude "type" as distinguising attribute
+ name: "mapping", // exclude "type" as distinguishing attribute
Type: "foo",
Alt: "foo",
},
diff --git a/vendor/golang.org/x/text/unicode/cldr/slice_test.go b/vendor/golang.org/x/text/unicode/cldr/slice_test.go
index f354329e2..3d487d3bd 100644
--- a/vendor/golang.org/x/text/unicode/cldr/slice_test.go
+++ b/vendor/golang.org/x/text/unicode/cldr/slice_test.go
@@ -158,7 +158,7 @@ func TestSelectOnePerGroup(t *testing.T) {
s := MakeSlice(&sl)
s.SelectOnePerGroup(tt.attr, tt.values)
if len(sl) != len(tt.refs) {
- t.Errorf("%d: found result lenght %d; want %d", i, len(sl), len(tt.refs))
+ t.Errorf("%d: found result length %d; want %d", i, len(sl), len(tt.refs))
continue
}
for j, e := range sl {
diff --git a/vendor/golang.org/x/text/unicode/norm/transform_test.go b/vendor/golang.org/x/text/unicode/norm/transform_test.go
index 987d680ed..d596ff3d8 100644
--- a/vendor/golang.org/x/text/unicode/norm/transform_test.go
+++ b/vendor/golang.org/x/text/unicode/norm/transform_test.go
@@ -41,7 +41,7 @@ func TestTransform(t *testing.T) {
{NFC, "qx", "", true, 1, transform.ErrShortDst},
{NFC, "a\u0300abc", "\u00e0a", true, 4, transform.ErrShortDst},
- // We cannot write a segment if succesive runes could still change the result.
+ // We cannot write a segment if successive runes could still change the result.
{NFD, "รถ", "", false, 3, transform.ErrShortSrc},
{NFC, "a\u0300", "", false, 4, transform.ErrShortSrc},
{NFD, "a\u0300", "", false, 4, transform.ErrShortSrc},
@@ -68,7 +68,7 @@ func TestTransform(t *testing.T) {
t.Errorf("%d: was %+q (%v); want %+q (%v)", i, out, err, tt.out, tt.err)
}
if want := tt.f.String(tt.in)[:nDst]; want != out {
- t.Errorf("%d: incorect normalization: was %+q; want %+q", i, out, want)
+ t.Errorf("%d: incorrect normalization: was %+q; want %+q", i, out, want)
}
}
}