Skip to content

Commit

Permalink
Assert that the correct extracted tags are empty
Browse files Browse the repository at this point in the history
  • Loading branch information
d-ronnqvist committed Sep 2, 2024
1 parent 7b85d30 commit 093ed59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/SwiftDocCTests/Utility/ListItemExtractorTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ class ListItemExtractorTests: XCTestCase {
XCTAssert(extractedTags("- Parameter: Missing parameter name.").parameters.isEmpty)
XCTAssert(extractedTags("- Parameter : Missing parameter name.").parameters.isEmpty)

XCTAssert(extractedTags("- DictionaryKey: Missing key name.").parameters.isEmpty)
XCTAssert(extractedTags("- PossibleValue: Missing value name.").parameters.isEmpty)
XCTAssert(extractedTags("- DictionaryKey: Missing key name.").dictionaryKeys.isEmpty)
XCTAssert(extractedTags("- PossibleValue: Missing value name.").possiblePropertyListValues.isEmpty)
}

func testExtractingTags() throws {
Expand Down

0 comments on commit 093ed59

Please sign in to comment.