There was quite some code duplication in a lot of tests to check if an answer was considered Ok. Created a test.SortAndCheck helper function that takes care of this. |
||
---|---|---|
.. | ||
doc.go | ||
file.go | ||
file_test.go | ||
helpers.go | ||
responsewriter.go | ||
server.go |
There was quite some code duplication in a lot of tests to check if an answer was considered Ok. Created a test.SortAndCheck helper function that takes care of this. |
||
---|---|---|
.. | ||
doc.go | ||
file.go | ||
file_test.go | ||
helpers.go | ||
responsewriter.go | ||
server.go |