tests: add more test cases on v3 around underscore

This commit is contained in:
Romain Lespinasse
2022-04-07 20:35:46 +02:00
committed by GitHub
parent 046be07299
commit f80aa0fae4
4 changed files with 20 additions and 0 deletions

View File

@@ -35,6 +35,11 @@ test('slug: a number', () => {
test_slug_cs('4.2', '4.2')
})
test('slug: an underscore', () => {
test_slug('An_Underscore', 'an_underscore')
test_slug_cs('An_Underscore', 'An_Underscore')
})
test('slug: special character', () => {
test_slug('feat-(!è§-character', 'feat------character')
test_slug_cs('feat-(!è§-character', 'feat------character')