diff options
author | Kevin Kirsche <Kev.Kirsche+GitHub@gmail.com> | 2015-09-02 16:29:10 +0300 |
---|---|---|
committer | Kevin Kirsche <kev.kirsche@gmail.com> | 2015-09-02 16:48:32 +0300 |
commit | c435c56f756095f284007bff11b7e8859ec779bd (patch) | |
tree | 013520143957246426210b8ff0defb1837dd7818 /test | |
parent | 668eea39f6e4398b3b6ac5198988d576672f7b4a (diff) |
Clarify W012
Fix #299
Diffstat (limited to 'test')
-rw-r--r-- | test/bootlint_test.js | 2 | ||||
-rw-r--r-- | test/fixtures/navbar/navbar-container.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/bootlint_test.js b/test/bootlint_test.js index 2fe064c..c53d920 100644 --- a/test/bootlint_test.js +++ b/test/bootlint_test.js @@ -807,7 +807,7 @@ exports.bootlint = { 'container inside navbar': function (test) { test.expect(1); test.deepEqual(lintHtml(utf8Fixture('navbar/navbar-container.html')), - ['`.container` or `.container-fluid` should be the first child inside of a `.navbar`'], + ["`.navbar`'s first child element should always be either `.container` or `.container-fluid`"], 'should complain about no .container/.container-fluid inside .navbar.' ); test.done(); diff --git a/test/fixtures/navbar/navbar-container.html b/test/fixtures/navbar/navbar-container.html index 85522ca..3ec3011 100644 --- a/test/fixtures/navbar/navbar-container.html +++ b/test/fixtures/navbar/navbar-container.html @@ -27,7 +27,7 @@ </nav> <div id="qunit"></div> <ol id="bootlint"> - <li data-lint="`.container` or `.container-fluid` should be the first child inside of a `.navbar`"></li> + <li data-lint="`.navbar`'s first child element should always be either `.container` or `.container-fluid`"></li> </ol> </body> </html> |