test-anything icon indicating copy to clipboard operation
test-anything copied to clipboard

log-it-out challenge just doesn't pass test

Open ghost opened this issue 9 years ago • 7 comments

I put in the code as the per the challenge "log it out":

var emotify = require(process.argv[2]);
console.log(emotify(process.argv[3]);

same code as the solution but I get:

➜  test-anything git:(master) test-anything verify log-it-out.js

TAP version 13
# (anonymous)
not ok 1 adds smiley correctly
  ---
    operator: equal
    expected: '0.5904866035562009test :)\n'
    actual:   ''
    at: ConcatStream.<anonymous> (/usr/local/lib/node_modules/test-anything/node_modules/concat-stream/index.js:36:43)
  ...

1..1
# tests 1
# pass  0
# fail  1

#########################################
###   YOUR SOLUTION IS NOT CORRECT!   ###
#########################################

What am I doing wrong? Thanks!

ghost avatar Jun 13 '15 13:06 ghost

You have not balanced the parenthesis correctly :)

Try console.log(emotify(process.argv[3]));

FGummesson avatar Jun 24 '15 16:06 FGummesson

I got the same error, 1 test passed, 1 failed. Even copied the solution and got the same error...

jonasem avatar Jul 02 '15 12:07 jonasem

Yep, same here. Either something's wrong with the test or the solution is wrong.

AGhost-7 avatar Jul 23 '15 14:07 AGhost-7

I am unable to verify this. What kind of operation systems and node versions (node -v) are you using?

finnp avatar Jul 24 '15 10:07 finnp

Windows 8 / node v0.10.32 here. Other nodeschools i've tried works fine on this system.

jonasem avatar Aug 04 '15 09:08 jonasem

I'm getting the same error running Node v0.10.35 on OSX Yosemite.

mpmckenna8 avatar Aug 19 '15 20:08 mpmckenna8

Same thing with Node v0.12.2 on OSX Yosemite

vgoma avatar Aug 27 '15 05:08 vgoma