mirror of
https://github.com/apple/container.git
synced 2026-08-24 10:05:43 -05:00
Fix a warning when testing (#531)
Fixes a warning missed in https://github.com/apple/container/pull/516.
This commit is contained in:
@@ -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?] = [:]
|
||||
|
||||
Reference in New Issue
Block a user