Skip to content

Commit

Permalink
fix AppendTimestamp test
Browse files Browse the repository at this point in the history
  • Loading branch information
phihungtf committed Jul 7, 2023
1 parent 27af02c commit 948fb43
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions slug_test.go
Expand Up @@ -395,6 +395,11 @@ func TestSlugMakeAppendTimestamp(t *testing.T) {
{"Ala ma 6 kotów.", "ala-ma-6-kotow", false},
}

MaxLength = 0
EnableSmartTruncate = true
CustomRuneSub = nil
CustomSub = nil
Lowercase = true
for index, st := range testCases {
if st.appendTimestamp {
AppendTimestamp = true
Expand Down

0 comments on commit 948fb43

Please sign in to comment.