Skip to content

Commit

Permalink
adding big number test
Browse files Browse the repository at this point in the history
  • Loading branch information
Mzack9999 committed Jul 25, 2023
1 parent 994fd33 commit 9e7f22d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions scripts/versionbump/versionbump_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,13 @@ func TestBumpVersionCLI(t *testing.T) {
part: "patch",
expectedErr: true,
},
{
name: "Test with big numbers",
fileContent: "package main\n\nvar version = \"1.0.111111111111111111111111111111111111111111111111111111111111111111111111\"",
varName: "minor",
part: "patch",
expectedErr: true,
},
}

for _, tc := range testCases {
Expand Down

0 comments on commit 9e7f22d

Please sign in to comment.