Fix a warning when testing (#531)

Fixes a warning missed in https://github.com/apple/container/pull/516.
This commit is contained in:
Dmitry Kovba
2025-08-21 10:08:27 -07:00
committed by GitHub
parent 879dff8fcf
commit 0fd7005119
2 changed files with 2 additions and 2 deletions
@@ -24,7 +24,7 @@ protocol InstructionVisitor {
func visit(_ label: LabelInstruction) throws
func visit(_ expose: ExposeInstruction) throws
func visit(_ arg: ArgInstruction) throws
// These instructions have to perform the ARG substitution checked in `testSimpleDockerfileArgInInstructions()`:
// TODO: These instructions have to perform the ARG substitution checked in `testSimpleDockerfileArgInInstructions()`:
// - ADD
// - ENV
// - STOPSIGNAL
@@ -239,7 +239,7 @@ struct GraphBuilderTests {
#expect(graphBuilder.substituteArgs("a=${UNDEFINED:+value} b=${DEFINED:+value} c=${EMPTY:+value}", inFromContext: true) == "a= b=value c=")
}
@Test(.serialized) func testPredefinedArgVariables() throws {
@Test func testPredefinedArgVariables() throws {
let graphBuilder = GraphBuilder()
var originalValues: [String: String?] = [:]