diff options
author | Phil Davis <phil@jankaritech.com> | 2020-12-16 16:56:32 +0545 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-16 12:11:32 +0100 |
commit | 04b89857e104ac7dcbf9fc65d8d4f1a1178123e6 (patch) | |
tree | 585bf761f0a1cfc69dffcd8afd22e94ca9da7c07 /tpl/collections/collections_test.go | |
parent | 21fa1e86f2aa929fb0983a0cc3dc4e271ea1cc54 (diff) |
all: Fix minor typos
Diffstat (limited to 'tpl/collections/collections_test.go')
-rw-r--r-- | tpl/collections/collections_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tpl/collections/collections_test.go b/tpl/collections/collections_test.go index a75ec9d16..a9bf9a09b 100644 --- a/tpl/collections/collections_test.go +++ b/tpl/collections/collections_test.go @@ -673,7 +673,7 @@ func TestShuffleRandomising(t *testing.T) { // Note that this test can fail with false negative result if the shuffle // of the sequence happens to be the same as the original sequence. However - // the propability of the event is 10^-158 which is negligible. + // the probability of the event is 10^-158 which is negligible. seqLen := 100 rand.Seed(time.Now().UTC().UnixNano()) @@ -835,7 +835,7 @@ func TestUniq(t *testing.T) { // Structs {pagesVals{p3v, p2v, p3v, p2v}, pagesVals{p3v, p2v}, false}, - // not Comparable(), use hashstruscture + // not Comparable(), use hashstructure {[]map[string]int{ {"K1": 1}, {"K2": 2}, {"K1": 1}, {"K2": 1}, }, []map[string]int{ |