mirror of
https://github.com/docker/cli.git
synced 2026-09-25 07:50:37 -05:00
Add and modify tests for legacy and new daemon invokations
Signed-off-by: Shishir Mahajan <shishir.mahajan@redhat.com>
Signed-off-by: Tibor Vass <tibor@docker.com>
Upstream-commit: f3841a1d27
Component: cli
This commit is contained in:
committed by
Vincent Demeester
parent
092610c5eb
commit
5b6cb6cb28
@@ -11,7 +11,7 @@ func TestUlimitOpt(t *testing.T) {
|
||||
"nofile": {"nofile", 1024, 512},
|
||||
}
|
||||
|
||||
ulimitOpt := NewUlimitOpt(ulimitMap)
|
||||
ulimitOpt := NewUlimitOpt(&ulimitMap)
|
||||
|
||||
expected := "[nofile=512:1024]"
|
||||
if ulimitOpt.String() != expected {
|
||||
|
||||
Reference in New Issue
Block a user