aboutsummaryrefslogtreecommitdiff
path: root/Tests/WmapParserTests/InertiaParserTests.swift
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/WmapParserTests/InertiaParserTests.swift')
-rw-r--r--Tests/WmapParserTests/InertiaParserTests.swift6
1 files changed, 3 insertions, 3 deletions
diff --git a/Tests/WmapParserTests/InertiaParserTests.swift b/Tests/WmapParserTests/InertiaParserTests.swift
index 92d9868..bcee55f 100644
--- a/Tests/WmapParserTests/InertiaParserTests.swift
+++ b/Tests/WmapParserTests/InertiaParserTests.swift
@@ -4,21 +4,21 @@ import Testing
@Test func shouldParseInertia() {
let source = "[Inertia] Print Media"
- let result = parse(source)
+ let result = WmapParser.parse(source)
#expect(result.inertias.count == 1)
#expect(result.inertias.first?.component == "Print Media")
}
@Test func shouldHandleCaseInsensitiveInertiaKeyword() {
let source = "[inertia] Yes"
- let result = parse(source)
+ let result = WmapParser.parse(source)
#expect(result.inertias.count == 1)
#expect(result.inertias.first?.component == "Yes")
}
@Test func shouldPreserveCaseInInertiaComponentLabel() {
let source = "[INERTIA] SpOnGeBoB"
- let result = parse(source)
+ let result = WmapParser.parse(source)
#expect(result.inertias.count == 1)
#expect(result.inertias.first?.component == "SpOnGeBoB")
}