mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-30 22:39:58 +02:00
all: Fix minor typos
This commit is contained in:
@@ -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{
|
||||
|
Reference in New Issue
Block a user