Skip to content

Commit

Permalink
Fix changelog not found test case
Browse files Browse the repository at this point in the history
After dogfooding the changelog tool and creating
CHANGELOG.md, the test started picking it up and
failing correctly
  • Loading branch information
pg8wood committed Feb 26, 2021
1 parent a815b6f commit d2348f1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Tests/changelog-generatorTests/PublishCommandTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ class PublishCommandTests: XCTestCase {
XCTAssertNoThrow(try withTemporaryDirectory { directory in
try withTemporaryChangelogEntry(dir: directory) { _ in
var publishCommand = Publish.makeCommandWithFakeCommandLineArguments()
publishCommand.changelogFilename = "FileThatDoesntExist"

let changelogOptions = Changelog.Options(unreleasedChangelogsDirectory: directory.asURL)
publishCommand.options = changelogOptions

Expand Down

0 comments on commit d2348f1

Please sign in to comment.