Y
Hacker News
new
|
ask
|
show
|
jobs
by
ShinTakuya
3181 days ago
How about a simple test giving the function a set of parameters and then asserting that the output dictionary (besides the password hash) equals the expected output? That would have caught this case with ease.