Skip to content

Commit 50e2907

Browse files
authored
Silence a noisy test (#537)
`SwiftPMTests.filterWithNoMatches()` emits an extra run log to `stderr` by mistake. Shh. ### Checklist: - [x] Code and documentation should follow the style of the [Style Guide](https://github.com/apple/swift-testing/blob/main/Documentation/StyleGuide.md). - [x] If public symbols are renamed or modified, DocC references should be updated.
1 parent 1be3357 commit 50e2907

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Tests/TestingTests/SwiftPMTests.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ struct SwiftPMTests {
9898
func filterWithNoMatches() async {
9999
var args = __CommandLineArguments_v0()
100100
args.filter = ["NOTHING_MATCHES_THIS_TEST_NAME_HOPEFULLY"]
101+
args.verbosity = .min
101102
let exitCode = await __swiftPMEntryPoint(passing: args) as CInt
102103
#expect(exitCode == EXIT_NO_TESTS_FOUND)
103104
}

0 commit comments

Comments
 (0)