зеркало из https://github.com/twbs/bootlint.git
version bump in tests
This commit is contained in:
Родитель
78ceccec5e
Коммит
68adc2e013
|
@ -666,16 +666,16 @@ exports.bootlint = {
|
|||
'outdated version of Bootstrap': function (test) {
|
||||
test.expect(5);
|
||||
test.deepEqual(lintHtml(utf8Fixture('outdated/bootstrap-css.html')),
|
||||
['Bootstrap version might be outdated. Latest version is at least 3.3.4 ; saw what appears to be usage of Bootstrap 3.2.0'],
|
||||
['Bootstrap version might be outdated. Latest version is at least 3.3.5 ; saw what appears to be usage of Bootstrap 3.2.0'],
|
||||
'should complain about outdated bootstrap.css.');
|
||||
test.deepEqual(lintHtml(utf8Fixture('outdated/bootstrap-min-css.html')),
|
||||
['Bootstrap version might be outdated. Latest version is at least 3.3.4 ; saw what appears to be usage of Bootstrap 3.2.0'],
|
||||
['Bootstrap version might be outdated. Latest version is at least 3.3.5 ; saw what appears to be usage of Bootstrap 3.2.0'],
|
||||
'should complain about outdated bootstrap.min.css.');
|
||||
test.deepEqual(lintHtml(utf8Fixture('outdated/bootstrap-js.html')),
|
||||
['Bootstrap version might be outdated. Latest version is at least 3.3.4 ; saw what appears to be usage of Bootstrap 3.2.0'],
|
||||
['Bootstrap version might be outdated. Latest version is at least 3.3.5 ; saw what appears to be usage of Bootstrap 3.2.0'],
|
||||
'should complain about outdated bootstrap.js.');
|
||||
test.deepEqual(lintHtml(utf8Fixture('outdated/bootstrap-min-js.html')),
|
||||
['Bootstrap version might be outdated. Latest version is at least 3.3.4 ; saw what appears to be usage of Bootstrap 3.2.0'],
|
||||
['Bootstrap version might be outdated. Latest version is at least 3.3.5 ; saw what appears to be usage of Bootstrap 3.2.0'],
|
||||
'should complain about outdated bootstrap.min.js.');
|
||||
test.deepEqual(lintHtml(utf8Fixture('outdated/bootstrap-extensions-okay.html')),
|
||||
[],
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
<body>
|
||||
<div id="qunit"></div>
|
||||
<ol id="bootlint">
|
||||
<li data-lint="Bootstrap version might be outdated. Latest version is at least 3.3.4 ; saw what appears to be usage of Bootstrap 3.2.0"></li>
|
||||
<li data-lint="Bootstrap version might be outdated. Latest version is at least 3.3.5 ; saw what appears to be usage of Bootstrap 3.2.0"></li>
|
||||
</ol>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
<body>
|
||||
<div id="qunit"></div>
|
||||
<ol id="bootlint">
|
||||
<li data-lint="Bootstrap version might be outdated. Latest version is at least 3.3.4 ; saw what appears to be usage of Bootstrap 3.2.0"></li>
|
||||
<li data-lint="Bootstrap version might be outdated. Latest version is at least 3.3.5 ; saw what appears to be usage of Bootstrap 3.2.0"></li>
|
||||
</ol>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
<body>
|
||||
<div id="qunit"></div>
|
||||
<ol id="bootlint">
|
||||
<li data-lint="Bootstrap version might be outdated. Latest version is at least 3.3.4 ; saw what appears to be usage of Bootstrap 3.2.0"></li>
|
||||
<li data-lint="Bootstrap version might be outdated. Latest version is at least 3.3.5 ; saw what appears to be usage of Bootstrap 3.2.0"></li>
|
||||
</ol>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
<body>
|
||||
<div id="qunit"></div>
|
||||
<ol id="bootlint">
|
||||
<li data-lint="Bootstrap version might be outdated. Latest version is at least 3.3.4 ; saw what appears to be usage of Bootstrap 3.2.0"></li>
|
||||
<li data-lint="Bootstrap version might be outdated. Latest version is at least 3.3.5 ; saw what appears to be usage of Bootstrap 3.2.0"></li>
|
||||
</ol>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
<script src="../../lib/jquery.min.js"></script>
|
||||
<script>
|
||||
(function () {
|
||||
window.$.fn.modal = { Constructor: { VERSION: '3.3.4' } };
|
||||
window.$.fn.modal = { Constructor: { VERSION: '3.3.5' } };
|
||||
})();
|
||||
</script>
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
<body>
|
||||
<div id="qunit"></div>
|
||||
<ol id="bootlint">
|
||||
<li data-lint="Bootstrap version might be outdated. Latest version is at least 3.3.4 ; saw what appears to be usage of Bootstrap 3.2.0"></li>
|
||||
<li data-lint="Bootstrap version might be outdated. Latest version is at least 3.3.5 ; saw what appears to be usage of Bootstrap 3.2.0"></li>
|
||||
</ol>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Загрузка…
Ссылка в новой задаче