Skip to content

Add TestCLIVersion to integration tests and fix assertions#1312

Merged
JaewonHur merged 2 commits into
apple:mainfrom
tico88612:test/system-version
Mar 25, 2026
Merged

Add TestCLIVersion to integration tests and fix assertions#1312
JaewonHur merged 2 commits into
apple:mainfrom
tico88612:test/system-version

Conversation

@tico88612
Copy link
Copy Markdown
Contributor

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update

Motivation and Context

TestCLIVersion isn't in the integration test; we should include this.

And update the output to align with the real output.

Follow up #911

Testing

  • Tested locally
  • Added/updated tests
  • Added/updated docs

@tico88612 tico88612 changed the title Fix TestCLIVersion assertions to test against real output Add TestCLIVersion to integration tests and fix assertions Mar 14, 2026
@tico88612
Copy link
Copy Markdown
Contributor Author

cc @jglogan @JaewonHur

@tico88612 tico88612 force-pushed the test/system-version branch from cb82b1c to 77ebfc5 Compare March 20, 2026 04:17
Comment thread Tests/CLITests/Subcommands/System/TestCLIVersion.swift
@tico88612 tico88612 force-pushed the test/system-version branch from 77ebfc5 to fef9863 Compare March 24, 2026 15:36
@tico88612
Copy link
Copy Markdown
Contributor Author

@JaewonHur, could you take a look at this? It's to cover the parts that weren't tested before.

@JaewonHur
Copy link
Copy Markdown
Contributor

Could you make signed commits?

Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com>
Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com>
@tico88612 tico88612 force-pushed the test/system-version branch from fef9863 to 1d9f7e5 Compare March 24, 2026 16:19
@tico88612
Copy link
Copy Markdown
Contributor Author

tico88612 commented Mar 24, 2026

Could you make signed commits?

@JaewonHur Resigned. I guess GitHub-UI rebase will remove my signed commit.

@JaewonHur JaewonHur merged commit 12fd767 into apple:main Mar 25, 2026
3 checks passed
@tico88612 tico88612 deleted the test/system-version branch March 25, 2026 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants