mirror of
https://github.com/trycua/computer.git
synced 2026-01-02 11:30:12 -06:00
Merge pull request #433 from trycua/fix/vm-details-test
Fix failing Lume test
This commit is contained in:
@@ -76,12 +76,13 @@ struct VMDetailsPrinterTests {
|
||||
let headerParts = printedLines[0].split(whereSeparator: \.isWhitespace)
|
||||
#expect(
|
||||
headerParts == [
|
||||
"name", "os", "cpu", "memory", "disk", "display", "status", "storage", "ip", "vnc",
|
||||
"name", "os", "cpu", "memory", "disk", "display", "status", "storage", "shared_dirs", "ip", "vnc",
|
||||
])
|
||||
|
||||
#expect(
|
||||
printedLines[1].split(whereSeparator: \.isWhitespace).map(String.init) == [
|
||||
"name", "os", "2", "0.00G", "24.0B/30.0B", "1024x768", "status", "mockLocation",
|
||||
"-",
|
||||
"0.0.0.0",
|
||||
"vncUrl",
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user