Miek Gieben
7f46df6d27
tests: add SortAndCheck helper ( #926 )
...
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.
2017-08-16 15:30:58 +01:00
Miek Gieben
4d0dae8deb
middleware/autopath: some fixes ( #883 )
...
* middleware/autopath: some fixes
This fix a small issue in autopath, but unearthed a bigger one.
See #881 .
* Fix test
2017-08-10 19:27:54 +01:00
Yong Tang
fefc4374d7
Some go vet
cleanup ( #869 )
...
Some `go vet` cleanup
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2017-08-09 11:00:03 -07:00
Miek Gieben
b46b9880bd
WIP: autopath as middleware ( #859 )
...
autopath as middleware
2017-08-09 03:13:38 -07:00