We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8127dc commit f9a04afCopy full SHA for f9a04af
SwiftDrawTests/Parser.XML.ColorTests.swift
@@ -70,7 +70,7 @@ final class ParserColorTests: XCTestCase {
70
}
71
72
func testColorHex() {
73
- XCTAssertEqual(try XMLParser().parseColor("#a06"), .hex(160, 0, 96))
+ XCTAssertEqual(try XMLParser().parseColor("#a06"), .hex(170, 0, 102))
74
XCTAssertEqual(try XMLParser().parseColor("#123456"), .hex(18, 52, 86))
75
XCTAssertEqual(try XMLParser().parseColor("#FF11DD"), .hex(255, 17, 221))
76
XCTAssertThrowsError(try XMLParser().parseColor("#invalid"))
0 commit comments