Skip to content

Commit 7db5bb0

Browse files
committed
Add test
1 parent 9a78ae2 commit 7db5bb0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/tailwindcss/src/utils/to-key-path.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@ it('can convert key paths to arrays', () => {
99
expect(toKeyPath('colors[red].[500]')).toEqual(['colors', 'red', '500'])
1010
expect(toKeyPath('colors[red]500')).toEqual(['colors', 'red', '500'])
1111
expect(toKeyPath('colors[red][500]')).toEqual(['colors', 'red', '500'])
12+
expect(toKeyPath('colors[red]500[50]5')).toEqual(['colors', 'red', '500', '50', '5'])
1213
})

0 commit comments

Comments
 (0)