mirror of
https://github.com/donnemartin/interactive-coding-challenges.git
synced 2024-03-22 13:11:13 +08:00
Update string diff test for None argument (#218)
This commit is contained in:
parent
dff49256e5
commit
d3c038b0db
|
@ -117,7 +117,7 @@
|
|||
"\n",
|
||||
" def test_find_diff(self):\n",
|
||||
" solution = Solution()\n",
|
||||
" assert_raises(TypeError, solution.find_diff, None)\n",
|
||||
" assert_raises(TypeError, solution.find_diff, None, None)\n",
|
||||
" assert_equal(solution.find_diff('abcd', 'abcde'), 'e')\n",
|
||||
" assert_equal(solution.find_diff('aaabbcdd', 'abdbacade'), 'e')\n",
|
||||
" print('Success: test_find_diff')\n",
|
||||
|
|
Loading…
Reference in New Issue
Block a user