mirror of
https://github.com/donnemartin/interactive-coding-challenges
synced 2026-01-05 00:48:03 +00:00
Add missing argument in reverse words unit test (#208)
This commit is contained in:
@@ -103,7 +103,7 @@
|
|||||||
"from nose.tools import assert_equal\n",
|
"from nose.tools import assert_equal\n",
|
||||||
"\n",
|
"\n",
|
||||||
"class UnitTest (object):\n",
|
"class UnitTest (object):\n",
|
||||||
" def testReverseWords(self):\n",
|
" def testReverseWords(self, func):\n",
|
||||||
" assert_equal(func('the sun is hot'), 'eht nus si toh')\n",
|
" assert_equal(func('the sun is hot'), 'eht nus si toh')\n",
|
||||||
" assert_equal(func(''), None)\n",
|
" assert_equal(func(''), None)\n",
|
||||||
" assert_equal(func('123 456 789'), '321 654 987')\n",
|
" assert_equal(func('123 456 789'), '321 654 987')\n",
|
||||||
|
|||||||
Reference in New Issue
Block a user