Commit Graph

3 Commits

Author SHA1 Message Date
Taylor Blau
40929cc7f0 lfsapi/errors.go: create a NewUnprocessableEntityError when appropriate
In the previous commit, we introduced a new type for detecting when the
server sent back an HTTP 422.

In this commit, let's use that and detect when we get a situation in
which:

    res.StatusCode == 422

And create+return the new error appropriately.
2018-07-31 13:23:16 -05:00
Taylor Blau
de9152049c t: load shell scripts from $(dirname) instead of 't' 2018-07-10 13:51:40 -05:00
Taylor Blau
219b7e0a3d t: prefix all existing tests with t- 2018-07-09 16:24:25 -05:00