diff options
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{ |