Skip to content

Commit 34d48e2

Browse files
committed
Merge branch 'master' of https://github.com/alexanderchr/postcss-modules-values into alexanderchr-master
Conflicts: lib/index.js src/index.js test/index.js
2 parents 75e065c + 3bdf399 commit 34d48e2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

test/index.js

+7
Original file line numberDiff line numberDiff line change
@@ -148,4 +148,11 @@ describe('constants', () => {
148148
':export {\n coolShadow: 0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14);\n}\n' +
149149
'.foo { box-shadow: 0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14); }')
150150
})
151+
152+
it('should allow values with nested parantheses', () => {
153+
test(
154+
'@value aaa: color(red lightness(50%));',
155+
':export {\n aaa: color(red lightness(50%))\n}'
156+
)
157+
})
151158
})

0 commit comments

Comments
 (0)