summaryrefslogtreecommitdiffhomepage
path: root/runsc/cmd/delete_test.go
diff options
context:
space:
mode:
authorKevin Krakauer <krakauer@google.com>2018-06-06 16:12:58 -0700
committerShentubot <shentubot@google.com>2018-06-06 16:13:53 -0700
commit206e90d057211f2ac53174907b2ff04801f9a481 (patch)
tree8f4ff7b6847838a3d2c8e2a872bc0b599ac11de2 /runsc/cmd/delete_test.go
parent79fef54eb1b9e941e2c910f90b65f3cfe94e18c4 (diff)
runsc: Support abbreviated container IDs.
Just a UI/usability addition. It's a lot easier to type "60" than "60185c721d7e10c00489f1fa210ee0d35c594873d6376b457fb1815e4fdbfc2c". PiperOrigin-RevId: 199547932 Change-Id: I19011b5061a88aba48a9ad7f8cf954a6782de854
Diffstat (limited to 'runsc/cmd/delete_test.go')
-rw-r--r--runsc/cmd/delete_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/runsc/cmd/delete_test.go b/runsc/cmd/delete_test.go
index 928e9ee2c..f6d164394 100644
--- a/runsc/cmd/delete_test.go
+++ b/runsc/cmd/delete_test.go
@@ -31,11 +31,11 @@ func TestNotFound(t *testing.T) {
d := Delete{}
if err := d.execute(ids, conf); err == nil {
- t.Error("Deleting non-existend container should have failed")
+ t.Error("Deleting non-existent container should have failed")
}
d = Delete{force: true}
if err := d.execute(ids, conf); err != nil {
- t.Errorf("Deleting non-existend container with --force should NOT have failed: %v", err)
+ t.Errorf("Deleting non-existent container with --force should NOT have failed: %v", err)
}
}