mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-13 20:24:00 +02:00
lang/i18n: Fix for language code case issue with pt-br etc.
Fixes #7804
This commit is contained in:
@@ -152,7 +152,7 @@ func TestTransform(t *testing.T) {
|
||||
|
||||
// The transformed file should only be published if RelPermalink
|
||||
// or Permalink is called.
|
||||
n := htesting.RandIntn(3)
|
||||
n := htesting.Rnd.Intn(3)
|
||||
shouldExist := true
|
||||
switch n {
|
||||
case 0:
|
||||
|
Reference in New Issue
Block a user