We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 54bf220 commit d1c7619Copy full SHA for d1c7619
1 file changed
cli/command/formatter/container_test.go
@@ -106,11 +106,17 @@ func TestContainerPsContext(t *testing.T) {
106
call: ctx.Ports,
107
},
108
{
109
- container: container.Summary{Status: "RUNNING"},
+ container: container.Summary{Status: "Up 123 seconds"},
110
trunc: true,
111
- expValue: "RUNNING",
+ expValue: "Up 123 seconds",
112
call: ctx.Status,
113
114
+ {
115
+ container: container.Summary{State: container.StateRunning},
116
+ trunc: true,
117
+ expValue: container.StateRunning,
118
+ call: ctx.State,
119
+ },
120
121
container: container.Summary{SizeRw: 10},
122
0 commit comments