Created
December 21, 2016 02:27
-
-
Save ncoden/0d39c464193b82090897d335e8329693 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ sassy-lists git:(master) npm test | |
> [email protected] test /Users/ncoden/Documents/Documents/Projects/Programmation/Web/Forks/sassy-lists | |
> mocha test/index.js | |
WARNING: Function sl-is-number takes 1 argument but 3 were passed. | |
on line 23 of /Users/ncoden/Documents/Documents/Projects/Programmation/Web/Forks/sassy-lists/test/helpers/_is-number.scss | |
This will be an error in future versions of Sass. | |
/Users/ncoden/Documents/Documents/Projects/Programmation/Web/Forks/sassy-lists/node_modules/sass-true/sass/true/_messages.scss:28 DEBUG: SassyLists » The sl-flatten function | |
/Users/ncoden/Documents/Documents/Projects/Programmation/Web/Forks/sassy-lists/node_modules/sass-true/sass/true/_messages.scss:28 DEBUG: - Output [list]: (1,) | |
/Users/ncoden/Documents/Documents/Projects/Programmation/Web/Forks/sassy-lists/node_modules/sass-true/sass/true/_messages.scss:28 DEBUG: - Expected [list]: (1,) | |
WARNING: FAILED [assert-equal]: Should leave normal lists alone. | |
Backtrace: | |
node_modules/sass-true/sass/true/_messages.scss:32, in mixin `-true-message` | |
node_modules/sass-true/sass/true/_assert.scss:196, in mixin `-true-assert-results` | |
node_modules/sass-true/sass/true/_assert.scss:58, in mixin `assert-equal` | |
test/functions/_flatten.scss:23, in mixin `@content` | |
node_modules/sass-true/sass/true/_tests.scss:16, in mixin `test` | |
test/functions/_flatten.scss:1, in mixin `@content` | |
node_modules/sass-true/sass/true/_modules.scss:15, in mixin `test-module` | |
test/test.scss:4 | |
/Users/ncoden/Documents/Documents/Projects/Programmation/Web/Forks/sassy-lists/node_modules/sass-true/sass/true/_messages.scss:28 DEBUG: SassyLists » The sl-loop function | |
/Users/ncoden/Documents/Documents/Projects/Programmation/Web/Forks/sassy-lists/node_modules/sass-true/sass/true/_messages.scss:28 DEBUG: - Output [list]: 3 2 1 2 | |
/Users/ncoden/Documents/Documents/Projects/Programmation/Web/Forks/sassy-lists/node_modules/sass-true/sass/true/_messages.scss:28 DEBUG: - Expected [list]: 3 4 1 2 | |
WARNING: FAILED [assert-equal]: Should shift indexes from list. | |
Backtrace: | |
node_modules/sass-true/sass/true/_messages.scss:32, in mixin `-true-message` | |
node_modules/sass-true/sass/true/_assert.scss:196, in mixin `-true-assert-results` | |
node_modules/sass-true/sass/true/_assert.scss:58, in mixin `assert-equal` | |
test/functions/_loop.scss:17, in mixin `@content` | |
node_modules/sass-true/sass/true/_tests.scss:16, in mixin `test` | |
test/functions/_loop.scss:1, in mixin `@content` | |
node_modules/sass-true/sass/true/_modules.scss:15, in mixin `test-module` | |
test/test.scss:4 | |
/Users/ncoden/Documents/Documents/Projects/Programmation/Web/Forks/sassy-lists/node_modules/sass-true/sass/true/_messages.scss:28 DEBUG: SassyLists » The sl-loop function | |
/Users/ncoden/Documents/Documents/Projects/Programmation/Web/Forks/sassy-lists/node_modules/sass-true/sass/true/_messages.scss:28 DEBUG: - Output [list]: c" "b" "a" "b | |
/Users/ncoden/Documents/Documents/Projects/Programmation/Web/Forks/sassy-lists/node_modules/sass-true/sass/true/_messages.scss:28 DEBUG: - Expected [list]: c" "d" "a" "b | |
WARNING: FAILED [assert-equal]: Should shift indexes from list. | |
Backtrace: | |
node_modules/sass-true/sass/true/_messages.scss:32, in mixin `-true-message` | |
node_modules/sass-true/sass/true/_assert.scss:196, in mixin `-true-assert-results` | |
node_modules/sass-true/sass/true/_assert.scss:58, in mixin `assert-equal` | |
test/functions/_loop.scss:17, in mixin `@content` | |
node_modules/sass-true/sass/true/_tests.scss:16, in mixin `test` | |
test/functions/_loop.scss:1, in mixin `@content` | |
node_modules/sass-true/sass/true/_modules.scss:15, in mixin `test-module` | |
test/test.scss:4 | |
/Users/ncoden/Documents/Documents/Projects/Programmation/Web/Forks/sassy-lists/node_modules/sass-true/sass/true/_messages.scss:28 DEBUG: SassyLists » The sl-loop function | |
/Users/ncoden/Documents/Documents/Projects/Programmation/Web/Forks/sassy-lists/node_modules/sass-true/sass/true/_messages.scss:28 DEBUG: - Output [list]: 2 1 2 3 | |
/Users/ncoden/Documents/Documents/Projects/Programmation/Web/Forks/sassy-lists/node_modules/sass-true/sass/true/_messages.scss:28 DEBUG: - Expected [list]: 4 1 2 3 | |
WARNING: FAILED [assert-equal]: Should shift indexes from 1 if second parameter is ommited. | |
Backtrace: | |
node_modules/sass-true/sass/true/_messages.scss:32, in mixin `-true-message` | |
node_modules/sass-true/sass/true/_assert.scss:196, in mixin `-true-assert-results` | |
node_modules/sass-true/sass/true/_assert.scss:58, in mixin `assert-equal` | |
test/functions/_loop.scss:17, in mixin `@content` | |
node_modules/sass-true/sass/true/_tests.scss:16, in mixin `test` | |
test/functions/_loop.scss:1, in mixin `@content` | |
node_modules/sass-true/sass/true/_modules.scss:15, in mixin `test-module` | |
test/test.scss:4 | |
/Users/ncoden/Documents/Documents/Projects/Programmation/Web/Forks/sassy-lists/node_modules/sass-true/sass/true/_messages.scss:28 DEBUG: SassyLists » The sl-loop function | |
/Users/ncoden/Documents/Documents/Projects/Programmation/Web/Forks/sassy-lists/node_modules/sass-true/sass/true/_messages.scss:28 DEBUG: - Output [list]: b" "a" "b" "c | |
/Users/ncoden/Documents/Documents/Projects/Programmation/Web/Forks/sassy-lists/node_modules/sass-true/sass/true/_messages.scss:28 DEBUG: - Expected [list]: d" "a" "b" "c | |
WARNING: FAILED [assert-equal]: Should shift indexes from 1 if second parameter is ommited. | |
Backtrace: | |
node_modules/sass-true/sass/true/_messages.scss:32, in mixin `-true-message` | |
node_modules/sass-true/sass/true/_assert.scss:196, in mixin `-true-assert-results` | |
node_modules/sass-true/sass/true/_assert.scss:58, in mixin `assert-equal` | |
test/functions/_loop.scss:17, in mixin `@content` | |
node_modules/sass-true/sass/true/_tests.scss:16, in mixin `test` | |
test/functions/_loop.scss:1, in mixin `@content` | |
node_modules/sass-true/sass/true/_modules.scss:15, in mixin `test-module` | |
test/test.scss:4 | |
/Users/ncoden/Documents/Documents/Projects/Programmation/Web/Forks/sassy-lists/node_modules/sass-true/sass/true/_messages.scss:28 DEBUG: SassyLists » The sl-walk function | |
/Users/ncoden/Documents/Documents/Projects/Programmation/Web/Forks/sassy-lists/node_modules/sass-true/sass/true/_messages.scss:28 DEBUG: - Output [list]: cyan purple yellow | |
/Users/ncoden/Documents/Documents/Projects/Programmation/Web/Forks/sassy-lists/node_modules/sass-true/sass/true/_messages.scss:28 DEBUG: - Expected [list]: cyan purple yellow | |
WARNING: FAILED [assert-equal]: Should apply given function to all items from list. | |
Backtrace: | |
node_modules/sass-true/sass/true/_messages.scss:32, in mixin `-true-message` | |
node_modules/sass-true/sass/true/_assert.scss:196, in mixin `-true-assert-results` | |
node_modules/sass-true/sass/true/_assert.scss:58, in mixin `assert-equal` | |
test/functions/_walk.scss:12, in mixin `@content` | |
node_modules/sass-true/sass/true/_tests.scss:16, in mixin `test` | |
test/functions/_walk.scss:1, in mixin `@content` | |
node_modules/sass-true/sass/true/_modules.scss:15, in mixin `test-module` | |
test/test.scss:4 | |
SassyLists | |
✓ The sl-str-compare function | |
✓ The sl-is-true function | |
✓ The sl-is-number function | |
✓ The sl-chunk function | |
✓ The sl-comma-list function | |
✓ The sl-contain function | |
✓ The sl-count-values function | |
✓ The sl-debug function | |
✓ The sl-every function | |
✓ The sl-explode function | |
✓ The sl-first function | |
1) The sl-flatten function | |
✓ The sl-has-values function | |
✓ The sl-has-multiple-values function | |
✓ The sl-insert-nth function | |
✓ The sl-intersection function | |
✓ The sl-is-empty function | |
✓ The sl-is-single function | |
✓ The sl-is-symmetrical function | |
✓ The sl-last function | |
✓ The sl-last-index function | |
2) The sl-loop function | |
✓ The sl-prepend function | |
✓ The sl-purge function | |
✓ The sl-random-value function | |
✓ The sl-range function | |
✓ The sl-remove function | |
✓ The sl-remove-duplicates function | |
✓ The sl-remove-nth function | |
✓ The sl-replace function | |
✓ The sl-replace-nth function | |
✓ The sl-reverse function | |
✓ The sl-shuffle function | |
✓ The sl-slice function | |
✓ The sl-sort function | |
✓ The sl-some function | |
✓ The sl-sum function | |
✓ The sl-tail function | |
✓ The sl-to-list function | |
✓ The sl-to-map function | |
✓ The sl-to-string function | |
✓ The sl-union function | |
3) The sl-walk function | |
40 passing (32ms) | |
3 failing | |
1) SassyLists The sl-flatten function: | |
AssertionError: Should leave normal lists alone. ("[list] (1,)" assert-equal "[list] (1,)") | |
+ expected - actual | |
at node_modules/sass-true/lib/main.js:59:20 | |
at Function._.each._.forEach (node_modules/sass-true/node_modules/underscore/underscore.js:153:9) | |
at Context.<anonymous> (node_modules/sass-true/lib/main.js:50:11) | |
2) SassyLists The sl-loop function: | |
AssertionError: Should shift indexes from list. ("[list] 3 2 1 2" assert-equal "[list] 3 4 1 2") | |
+ expected - actual | |
-[list] 3 2 1 2 | |
+[list] 3 4 1 2 | |
at node_modules/sass-true/lib/main.js:59:20 | |
at Function._.each._.forEach (node_modules/sass-true/node_modules/underscore/underscore.js:153:9) | |
at Context.<anonymous> (node_modules/sass-true/lib/main.js:50:11) | |
3) SassyLists The sl-walk function: | |
AssertionError: Should apply given function to all items from list. ("[list] cyan purple yellow" assert-equal "[list] cyan purple yellow") | |
+ expected - actual | |
at node_modules/sass-true/lib/main.js:59:20 | |
at Function._.each._.forEach (node_modules/sass-true/node_modules/underscore/underscore.js:153:9) | |
at Context.<anonymous> (node_modules/sass-true/lib/main.js:50:11) | |
npm ERR! Test failed. See above for more details. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment