Sign in
chromium
/
external
/
github.com
/
docker
/
runc
/
776791463d2c6ef5a59931c89d5ac8527bb0e46a
/
.
/
libcontainer
/
generic_error_test.go
blob: 292d2a36bdcebdbfd433aa41ab9a4b89acee4d80 [
file
] [
log
] [
blame
]
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)
}
}