mirror of https://github.com/docker/cli.git
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>
|
||
|---|---|---|
| .. | ||
| client_test.go | ||
| cmd.go | ||
| create.go | ||
| create_test.go | ||
| disable.go | ||
| disable_test.go | ||
| enable.go | ||
| enable_test.go | ||
| inspect.go | ||
| install.go | ||
| list.go | ||
| push.go | ||
| remove.go | ||
| remove_test.go | ||
| set.go | ||
| upgrade.go | ||