Skip to content

Commit

Permalink
fix: correct test warning
Browse files Browse the repository at this point in the history
  • Loading branch information
drmohundro committed Aug 16, 2024
1 parent 3de7d6a commit 64e8b8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/SWXMLHashTests/XMLParsingTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ struct XMLParsingTests {
case let elm as TextElement:
return acc + elm.text
default:
#expect(false, "Unknown element type")
Issue.record("Unknown element type")
return acc
}
}
Expand Down

0 comments on commit 64e8b8b

Please sign in to comment.