Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix snapshot tests #555

Merged
merged 1 commit into from
Apr 20, 2023
Merged

Fix snapshot tests #555

merged 1 commit into from
Apr 20, 2023

Conversation

olafurpg
Copy link
Member

Previously, the LibrarySnapshotGenerator was not working correctly making it impossible to update the snapshots with snapshots/run. This commit fixes the issue and updates the snapshots to reflect several versions of scip-java updates.

Test plan

See updated snapshot tests.

@@ -70,12 +71,16 @@ final case class IndexDependencyCommand(
snapshotCommand
.copy(
output = snapshotTarget,
cleanup = cleanup,
targetroot = List(indexTarget),
Copy link
Member Author

Choose a reason for hiding this comment

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

This line fixed the issue. The other diffs are not necessary but make the --cleanup flag work correctly, which is helpful for debugging in cases like this.

Previously, the `LibrarySnapshotGenerator` was not working correctly
making it impossible to update the snapshots with `snapshots/run`. This
commit fixes the issue and updates the snapshots to reflect several
versions of scip-java updates.
@olafurpg olafurpg force-pushed the olafurpg/fix-snapshots branch from 9527aff to 052f671 Compare April 19, 2023 17:52
@olafurpg olafurpg requested a review from keynmol April 19, 2023 18:26
@olafurpg olafurpg merged commit 8c0dde7 into main Apr 20, 2023
@olafurpg olafurpg deleted the olafurpg/fix-snapshots branch April 20, 2023 07:03
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.

None yet

2 participants