mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-27 06:00:25 +03:00
lang/i18n: Fix for language code case issue with pt-br etc.
Fixes #7804
This commit is contained in:
parent
49972d0792
commit
506820435c
6 changed files with 77 additions and 8 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue