Vincent Demeester
|
2c4de4fb5e
|
Update tests to use gotest.tools 👼
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
|
2018-06-08 18:24:26 +02:00 |
Daniel Nephin
|
e15b208e96
|
Convert assert.Check(t, is.Error()) to assert.Error
git grep -l -P '^\s+assert\.Check\(t, is\.Error\(' | \
xargs perl -pi -e 's/^(\s+assert\.)Check\(t, is\.Error\((.*)\)$/\1Error(t, \2/'
Signed-off-by: Daniel Nephin <dnephin@docker.com>
|
2018-03-06 16:00:28 -05:00 |
Daniel Nephin
|
078cbc9c4b
|
Convert assert.Check with
git grep -l -P '^\s+assert\.Check\(t, ' | \
xargs perl -pi -e 's/^(\s+assert)\.Check(\(t, (?!is).*(\.Execute\(|\.Set\(|\.Write\(|\.Close\(|\.Untar\(|\.WriteFile\(|Validate\().*\)$)/\1.NilError\2/'
Signed-off-by: Daniel Nephin <dnephin@docker.com>
|
2018-03-06 15:43:53 -05:00 |
Daniel Nephin
|
39c2ca57c1
|
Automated migration
Signed-off-by: Daniel Nephin <dnephin@docker.com>
|
2018-03-05 19:41:17 -05:00 |
Vincent Demeester
|
b5182ba17f
|
Move duration opts into an opts package
They have nothing to do with service and could be used on their own.
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
|
2017-05-16 17:49:40 +02:00 |