Skip to content

Commit 76470d7

Browse files
authored
Fix some order dependent tests (#83)
1 parent 5b9c2ce commit 76470d7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

slug_test.go

+3
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@ func TestSlugMakeUserSubstituteLang(t *testing.T) {
203203
got, smust.want)
204204
}
205205
}
206+
CustomSub = nil
206207
}
207208

208209
func TestSlugMakeSubstituteOrderLang(t *testing.T) {
@@ -230,6 +231,8 @@ func TestSlugMakeSubstituteOrderLang(t *testing.T) {
230231
got, smsot.want)
231232
}
232233
}
234+
CustomRuneSub = nil
235+
CustomSub = nil
233236
}
234237

235238
func TestSubstituteLang(t *testing.T) {

0 commit comments

Comments
 (0)