mirror of
https://github.com/donnemartin/interactive-coding-challenges
synced 2026-01-03 16:08:02 +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",
|
||||||
@@ -148,4 +148,4 @@
|
|||||||
},
|
},
|
||||||
"nbformat": 4,
|
"nbformat": 4,
|
||||||
"nbformat_minor": 0
|
"nbformat_minor": 0
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user