From: Michel Sabchuk Date: Thu, 24 Mar 2016 17:52:31 +0000 (-0300) Subject: Test the modifier of text-inputs function. X-Git-Tag: v6.3-rc1~59^2^2 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F8458%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Test the modifier of text-inputs function. --- 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'); + } + }