From 2d07d8ff96f8e402fefc8c30cf9c542c5789dae8 Mon Sep 17 00:00:00 2001 From: ChengHao Yang <17496418+tico88612@users.noreply.github.com> Date: Wed, 19 Nov 2025 02:47:08 +0800 Subject: [PATCH] Fix TestCLICreateCommand failing test (#897) Signed-off-by: ChengHao Yang --- Tests/CLITests/Subcommands/Containers/TestCLICreate.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tests/CLITests/Subcommands/Containers/TestCLICreate.swift b/Tests/CLITests/Subcommands/Containers/TestCLICreate.swift index 6d9c3765..abee7a4a 100644 --- a/Tests/CLITests/Subcommands/Containers/TestCLICreate.swift +++ b/Tests/CLITests/Subcommands/Containers/TestCLICreate.swift @@ -62,7 +62,7 @@ class TestCLICreateCommand: CLITest { args.append("\"hello world\"") #expect(throws: Never.self, "expected container create maximum port publishes to succeed") { - let (_, error, status) = try run(arguments: args) + let (_, _, error, status) = try run(arguments: args) defer { try? doRemove(name: name) } if status != 0 { throw CLIError.executionFailed("command failed: \(error)") @@ -85,7 +85,7 @@ class TestCLICreateCommand: CLITest { args.append("\"hello world\"") #expect(throws: CLIError.self, "expected container create more than maximum port publishes to fail") { - let (_, error, status) = try run(arguments: args) + let (_, _, error, status) = try run(arguments: args) defer { try? doRemove(name: name) } if status != 0 { throw CLIError.executionFailed("command failed: \(error)")