This isn't fixed yet.
From sample tests: test.assert_equals(mispelled('versed','versed'),True) which goes against;
test.assert_equals(mispelled('versed','versed'),True)
In the tests that expect true, the mispelled word will always differ only by one character.
ooh XD
The log appears above the test result.
i have this error in js
Expected: true, instead got: false //expected true??? Log (8 'aaversed' 'versed') <----console.log(counter, word1, word2)
but in the sample tests you put: Test.assertEquals(mispelled('aaversed', 'versed'), false) <-------false
The unique wrong thing there is JS X)
You might want to identify which programming language you're solving, too.
Although you call "let min = parseInt()" your code does not call ParseInt() during the for() loop.
ez
Read this and mark your post as having spoiler content next time. Your function should return the result, not print it to the console. You're comparing strings to numbers too.
This comment is hidden because it contains spoiler information about the solution
Not a kata suggestion, and don't post solutions in Discourse, it's forbidden.
Loading collection data...
This isn't fixed yet.
From sample tests:
test.assert_equals(mispelled('versed','versed'),True)
which goes against;ooh XD
The log appears above the test result.
i have this error in js
Expected: true, instead got: false //expected true???
Log
(8 'aaversed' 'versed') <----console.log(counter, word1, word2)
but in the sample tests you put: Test.assertEquals(mispelled('aaversed', 'versed'), false) <-------false
The unique wrong thing there is JS X)
You might want to identify which programming language you're solving, too.
Although you call "let min = parseInt()" your code does not call ParseInt() during the for() loop.
ez
Read this and mark your post as having spoiler content next time. Your function should return the result, not print it to the console. You're comparing strings to numbers too.
This comment is hidden because it contains spoiler information about the solution
Not a kata suggestion, and don't post solutions in Discourse, it's forbidden.
This comment is hidden because it contains spoiler information about the solution
ez