Skip to content

armgit / cua

Public Imported from GitHub
0

Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.

455 B
Raw Blame
import Testing

@testable import lume

@MainActor
@Test("run parses repeated additional disk options")
func runCommandParsesAdditionalDisks() throws {
    let root = try Lume.parseAsRoot([
        "run",
        "test-vm",
        "--disk",
        "scratch.img",
        "--disk=cache.img",
    ])
    let command = try #require(root as? Run)

    #expect(command.name == "test-vm")
    #expect(command.additionalDisks == ["scratch.img", "cache.img"])
}