From ec6fa1bf6eff98119ceffcdbb4bcf902e5f68b9f Mon Sep 17 00:00:00 2001 From: Michel Sabchuk Date: Thu, 24 Mar 2016 14:52:31 -0300 Subject: [PATCH] Test the modifier of text-inputs function. --- test/sass/_selector.scss | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/test/sass/_selector.scss b/test/sass/_selector.scss index 077fa3bfa..8e47ae7ca 100755 --- a/test/sass/_selector.scss +++ b/test/sass/_selector.scss @@ -14,4 +14,14 @@ 'Creates a selector out of a list of text input types'); } + @include test('Selector (with modifiers) [function]') { + $test: #{text-inputs(text password, $modifier: ':focus')}; + $expect: "[type='text']:focus, [type='password']:focus"; + + //@debug $test; + + @include assert-equal($test, $expect, + 'Creates a selector out of a list of text input types with a modifier'); + } + } -- 2.47.3