From d2348f19a6123298c48286cfe776883252c2cb07 Mon Sep 17 00:00:00 2001 From: Patrick Gatewood Date: Fri, 26 Feb 2021 17:43:07 -0500 Subject: [PATCH] Fix changelog not found test case After dogfooding the changelog tool and creating CHANGELOG.md, the test started picking it up and failing correctly --- Tests/changelog-generatorTests/PublishCommandTests.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Tests/changelog-generatorTests/PublishCommandTests.swift b/Tests/changelog-generatorTests/PublishCommandTests.swift index 6e3dfe1..ae28ad9 100644 --- a/Tests/changelog-generatorTests/PublishCommandTests.swift +++ b/Tests/changelog-generatorTests/PublishCommandTests.swift @@ -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