mirror of
https://github.com/rancher/os.git
synced 2025-10-30 05:15:16 +00:00
move dependencies to vendor
This commit is contained in:
14
vendor/github.com/docker/libcontainer/generic_error_test.go
generated
vendored
Normal file
14
vendor/github.com/docker/libcontainer/generic_error_test.go
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
package libcontainer
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"io/ioutil"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestErrorDetail(t *testing.T) {
|
||||
err := newGenericError(fmt.Errorf("test error"), SystemError)
|
||||
if derr := err.Detail(ioutil.Discard); derr != nil {
|
||||
t.Fatal(derr)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user