Skip to content

Add tests to verify the cli output for kpt pkg update#2217

Merged
mortent merged 2 commits intokptdev:mainfrom
mortent:TestUpdateOutput
Jun 14, 2021
Merged

Add tests to verify the cli output for kpt pkg update#2217
mortent merged 2 commits intokptdev:mainfrom
mortent:TestUpdateOutput

Conversation

@mortent
Copy link
Contributor

@mortent mortent commented Jun 11, 2021

This adds a few tests to verify the output from the kpt pkg update command. In particular, make sure information about deletion/addition of packages are communicated to the user.

// First sort based on the number of segments.
// TODO: Verify whether this works on Windows. It looks like it
// probably wont.
iSegmentCount := len(strings.Split(iPath, "/"))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mortent mortent merged commit f03d9f4 into kptdev:main Jun 14, 2021
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.

2 participants