Skip to content

Commit 90add0a

Browse files
author
Jed Mao
committed
Update tests
1 parent b9af58c commit 90add0a

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

test/plugin.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,20 @@ describe('postcss-nested-props plugin', () => {
4848
);
4949
});
5050

51-
it('preserves the ::after pseudo-element', () => {
51+
it('preserves the :after pseudo-element', () => {
5252
check(
5353
'a{b:after{c:d}}',
5454
'a{b:after{c:d}}'
5555
);
5656
});
5757

58+
it('preserves the ::after pseudo-element', () => {
59+
check(
60+
'a{b::after{c:d}}',
61+
'a{b::after{c:d}}'
62+
);
63+
});
64+
5865
});
5966

6067
function check(input: string, output: string) {

0 commit comments

Comments
 (0)