Skip to content

Conversation

@keturn
Copy link
Member

@keturn keturn commented Apr 27, 2021

This was intended to be included with #101 but it fell off the truck somewhere.

@keturn keturn added v7 Topic: Module Requests, Issues and Changes related to gestalt modules labels Apr 27, 2021
@keturn keturn added this to the v7.1.0 milestone May 1, 2021
assertTrue(predicate.test(nextMinorVersion), "failed to match the next minor version");
assertTrue(predicate.test(new Version(nextMinorVersion + "-SNAPSHOT")), "failed to match the next minor snapshot");

assertFalse(predicate.test(new Version("1.4.6")), "inappropriately matched an earlier patch version");
Copy link
Member

Choose a reason for hiding this comment

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

Should we add a test to ensure that a snapshot of a non-snapshot version is not matched? Probably same for the test case above.

Suggested change
assertFalse(predicate.test(new Version("1.4.6")), "inappropriately matched an earlier patch version");
assertFalse(predicate.test(new Version("1.4.7-SNAPSHOT")), "inappropriately matched same version snapshot");

Copy link
Member

Choose a reason for hiding this comment

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

will be addressed in PR for #113

@jdrueckert jdrueckert merged commit 511e6b2 into release/v7.x May 4, 2021
@jdrueckert jdrueckert deleted the v7/test/dependencyInfo branch May 4, 2021 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Topic: Module Requests, Issues and Changes related to gestalt modules

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants