Skip to content

Commit

Permalink
fix AppendTimestamp test
Browse files Browse the repository at this point in the history
  • Loading branch information
phihungtf authored and matrixik committed Feb 23, 2024
1 parent 6b0799c commit f6824ea
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions slug_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,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 f6824ea

Please sign in to comment.