From 684bfe4ac98c63856e1062230d165b65188accbe Mon Sep 17 00:00:00 2001 From: Kenta Kubo <601636+kkebo@users.noreply.github.com> Date: Fri, 2 Aug 2024 02:36:21 +0900 Subject: [PATCH] Fix incorrect help documentation of XCTestMain The option `--list-test` is incorrect. The correct option is [`--list-tests`](https://github.com/apple/swift-corelibs-xctest/blob/7a9df99f405b39be19d74304a76ba9b515ab228c/Sources/XCTest/Private/ArgumentParser.swift#L60). --- Sources/XCTest/Public/XCTestMain.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/XCTest/Public/XCTestMain.swift b/Sources/XCTest/Public/XCTestMain.swift index 1bbd6538..f24f77a4 100644 --- a/Sources/XCTest/Public/XCTestMain.swift +++ b/Sources/XCTest/Public/XCTestMain.swift @@ -182,7 +182,7 @@ internal func XCTMainMisc( OPTIONS: - -l, --list-test List tests line by line to standard output + -l, --list-tests List tests line by line to standard output --dump-tests-json List tests in JSON to standard output TESTCASES: