aboutsummaryrefslogtreecommitdiffstats
path: root/test/_props.scss
diff options
context:
space:
mode:
Diffstat (limited to 'test/_props.scss')
-rw-r--r--test/_props.scss10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/_props.scss b/test/_props.scss
index d8b550b..1d64080 100644
--- a/test/_props.scss
+++ b/test/_props.scss
@@ -240,6 +240,16 @@
240 @include assert-equal(props.get(--primary --text), var(--buttons--primary--text), 'Get via namespace "buttons" --primary --text'); 240 @include assert-equal(props.get(--primary --text), var(--buttons--primary--text), 'Get via namespace "buttons" --primary --text');
241 @include assert-equal(props.get(--secondary --text, $default: false), var(--buttons--secondary--text, false), 'Get via namespace "buttons" --secondary --text with default'); 241 @include assert-equal(props.get(--secondary --text, $default: false), var(--buttons--secondary--text, false), 'Get via namespace "buttons" --secondary --text with default');
242 } 242 }
243 @include assert-equal(props.get(--buttons), (
244 --primary: (
245 --background: var(--buttons--primary--background),
246 --text: var(--buttons--primary--text)
247 ),
248 --default: (
249 --background: var(--buttons--default--background),
250 --text: var(--buttons--default--text)
251 )
252 ), 'Get --buttons recursively');
243 253
244 @include assert-equal(props.clear(), null, 'Delete default tree'); 254 @include assert-equal(props.clear(), null, 'Delete default tree');
245 } 255 }