-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix consistent typo throughout; fixes pull request #115
- Loading branch information
1 parent
0432d9a
commit 6a21637
Showing
11 changed files
with
44 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
src/test/groovy/org/shipkit/auto/version/DeducedVersionTest.groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package org.shipkit.auto.version | ||
|
||
import spock.lang.Specification | ||
|
||
class DeducedVersionTest extends Specification { | ||
|
||
def "previous version"() { | ||
expect: | ||
"0.0.9" == new DeducedVersion("1.0.0", Optional.of(new VersionNumber("0.0.9")), "v").previousVersion | ||
null == new DeducedVersion("1.0.0", Optional.empty(), "v").previousVersion | ||
} | ||
|
||
def "previous tag"() { | ||
expect: | ||
"v0.0.9" == new DeducedVersion("1.0.0", Optional.of(new VersionNumber("0.0.9")), "v").previousTag | ||
"0.0.9" == new DeducedVersion("1.0.0", Optional.of(new VersionNumber("0.0.9")), "").previousTag | ||
null == new DeducedVersion("1.0.0", Optional.empty(), "v").previousTag | ||
} | ||
} |
19 changes: 0 additions & 19 deletions
19
src/test/groovy/org/shipkit/auto/version/DeductedVersionTest.groovy
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters