]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Test the modifier of text-inputs function. 8458/head
authorMichel Sabchuk <michel@turbosys.com.br>
Thu, 24 Mar 2016 17:52:31 +0000 (14:52 -0300)
committerMichel Sabchuk <michel@turbosys.com.br>
Thu, 24 Mar 2016 17:52:31 +0000 (14:52 -0300)
test/sass/_selector.scss

index 077fa3bfa470f05beadbafa7ed03a9c01760e7e3..8e47ae7caf29331d599d8e80b4c35b4e23ac7255 100755 (executable)
            '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');
+       }
+
 }