diff --git a/Tests/ZMarkupParserTests/HTML/HTMLTagStyleAttributeToMarkupStyleVisitorTests.swift b/Tests/ZMarkupParserTests/HTML/HTMLTagStyleAttributeToMarkupStyleVisitorTests.swift
index 458d5db..53927d5 100644
--- a/Tests/ZMarkupParserTests/HTML/HTMLTagStyleAttributeToMarkupStyleVisitorTests.swift
+++ b/Tests/ZMarkupParserTests/HTML/HTMLTagStyleAttributeToMarkupStyleVisitorTests.swift
@@ -75,7 +75,18 @@ final class HTMLTagStyleAttributeToMarkupStyleVisitorTests: XCTestCase {
let visitor = HTMLTagStyleAttributeToMarkupStyleVisitor(value: "500")
let markupStyle = visitor.visit(FontWeightHTMLTagStyleAttribute())
- if case let .rawValue(weight) = markupStyle?.font.weight, weight == 500 {
+ if case let .style(style) = markupStyle?.font.weight, style == .medium {
+ // Success
+ } else {
+ XCTFail()
+ }
+ }
+
+ func testFontWeightHTMLTagStyleAttribute3() {
+ let visitor = HTMLTagStyleAttributeToMarkupStyleVisitor(value: "501")
+ let markupStyle = visitor.visit(FontWeightHTMLTagStyleAttribute())
+
+ if case let .rawValue(weight) = markupStyle?.font.weight, weight == 501 {
// Success
} else {
XCTFail()
diff --git a/ZMarkupParser.xcworkspace/xcshareddata/swiftpm/Package.resolved b/ZMarkupParser.xcworkspace/xcshareddata/swiftpm/Package.resolved
index 44182a6..375fa6e 100644
--- a/ZMarkupParser.xcworkspace/xcshareddata/swiftpm/Package.resolved
+++ b/ZMarkupParser.xcworkspace/xcshareddata/swiftpm/Package.resolved
@@ -5,8 +5,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/pointfreeco/swift-snapshot-testing",
"state" : {
- "revision" : "dc46eeb3928a75390651fac6c1ef7f93ad59a73b",
- "version" : "1.11.1"
+ "revision" : "26ed3a2b4a2df47917ca9b790a57f91285b923fb",
+ "version" : "1.12.0"
}
},
{