Skip to content

Commit

Permalink
Re-enable a short option pack test (#236)
Browse files Browse the repository at this point in the history
  • Loading branch information
natecook1000 authored Sep 2, 2020
1 parent 3445371 commit c347030
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Tests/ArgumentParserEndToEndTests/ShortNameEndToEndTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,11 @@ extension ShortNameEndToEndTests {
}

func testParsing_combined() throws {
// AssertParse(Bar.self, ["-vf", "myfile", "foo"]) { options in
// XCTAssertEqual(options.verbose, true)
// XCTAssertEqual(options.file, "myfile")
// XCTAssertEqual(options.name, "foo")
// }
AssertParse(Bar.self, ["-vf", "myfile", "foo"]) { options in
XCTAssertEqual(options.verbose, true)
XCTAssertEqual(options.file, "myfile")
XCTAssertEqual(options.name, "foo")
}

AssertParse(Bar.self, ["-fv", "myfile", "foo"]) { options in
XCTAssertEqual(options.verbose, true)
Expand Down

0 comments on commit c347030

Please sign in to comment.