MCPcopy
hub / github.com/rclone/rclone / checkError

Function checkError

cmd/bisync/bisync_test.go:2011–2016  ·  view source on GitHub ↗
(t *testing.T, err error, msgAndArgs ...any)

Source from the content-addressed store, hash-verified

2009}
2010
2011func checkError(t *testing.T, err error, msgAndArgs ...any) {
2012 if errors.Is(err, fs.ErrorCantUploadEmptyFiles) {
2013 t.Skipf("Skip test because remote cannot upload empty files")
2014 }
2015 assert.NoError(t, err, msgAndArgs...)
2016}
2017
2018// for example, replaces TestS3{juk_h}:dir with TestS3,directory_markers=true:dir
2019// because NewFs needs the latter

Callers 2

runTestCaseMethod · 0.85
makeTempRemoteMethod · 0.85

Calls 1

IsMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…