mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-11 04:15:48 +02:00
Rename From to AtLeast
This commit is contained in:
parent
30656b5ac6
commit
c8f26aca68
4 changed files with 9 additions and 9 deletions
|
@ -96,18 +96,18 @@ func TestGitVersionRestriction(t *testing.T) {
|
|||
expectedShouldRun bool
|
||||
}{
|
||||
{
|
||||
testName: "From, current is newer",
|
||||
gitVersion: From("2.24.9"),
|
||||
testName: "AtLeast, current is newer",
|
||||
gitVersion: AtLeast("2.24.9"),
|
||||
expectedShouldRun: true,
|
||||
},
|
||||
{
|
||||
testName: "From, current is same",
|
||||
gitVersion: From("2.25.0"),
|
||||
testName: "AtLeast, current is same",
|
||||
gitVersion: AtLeast("2.25.0"),
|
||||
expectedShouldRun: true,
|
||||
},
|
||||
{
|
||||
testName: "From, current is older",
|
||||
gitVersion: From("2.26.0"),
|
||||
testName: "AtLeast, current is older",
|
||||
gitVersion: AtLeast("2.26.0"),
|
||||
expectedShouldRun: false,
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue