@@ -27220,6 +27220,7 @@ describe('custom utilities', () => {
2722027220 ['foo-sm/8', true], // Bare value with number modifier
2722127221 ['foo-4/snug', true], // Bare value with named modifier
2722227222 ['foo_', true], // This is supported today, so let's not break it
27223+ ['foo/bar', true], // A slash to separate the modifier is valid.
2722327224
2722427225 ['Foo', false], // Starting with uppercase letter is invalid
2722527226 ['-Foo', false], // Starting with uppercase letter is invalid (negative)
@@ -27229,6 +27230,7 @@ describe('custom utilities', () => {
2722927230 ['foo.bar', false], // Dots are only valid when surrounded by numbers
2723027231 ['foo-1..5', false], // Double dots are invalid
2723127232 ['foo..bar', false], // Double dots are invalid definitely without numbers
27233+ ['foo/bar/baz', false], // Multiple slashes are invalid
2723227234 ])('valid static utility name "%s" (%s)', (name, valid) => {
2723327235 expect(isValidStaticUtilityName(name)).toBe(valid)
2723427236 })
0 commit comments