mirror of
https://github.com/donnemartin/interactive-coding-challenges.git
synced 2024-03-22 13:11:13 +08:00
Add missing argument in reverse words unit test (#208)
This commit is contained in:
parent
c35bed5af2
commit
e291942a66
|
@ -103,7 +103,7 @@
|
|||
"from nose.tools import assert_equal\n",
|
||||
"\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(''), None)\n",
|
||||
" assert_equal(func('123 456 789'), '321 654 987')\n",
|
||||
|
@ -148,4 +148,4 @@
|
|||
},
|
||||
"nbformat": 4,
|
||||
"nbformat_minor": 0
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user