aboutsummaryrefslogtreecommitdiffhomepage
path: root/system/output_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'system/output_test.go')
-rw-r--r--system/output_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/output_test.go b/system/output_test.go
index 5ad219b7..ba760e84 100644
--- a/system/output_test.go
+++ b/system/output_test.go
@@ -26,11 +26,11 @@ func TestOpError(t *testing.T) {
ErrDBusConfig, syscall.ENOTRECOVERABLE},
{"apply", newOpError("tmpfile", syscall.EBADE, false),
- "cannot apply tmpfile: invalid exchange",
+ "apply tmpfile: invalid exchange",
syscall.EBADE, syscall.EBADF},
{"revert", newOpError("wayland", syscall.EBADF, true),
- "cannot revert wayland: bad file descriptor",
+ "revert wayland: bad file descriptor",
syscall.EBADF, syscall.EBADE},
{"path", newOpError("tmpfile", &os.PathError{Op: "stat", Path: "/run/dbus", Err: syscall.EISDIR}, false),