mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-10 04:54:03 -08:00
chore: fix typos in TestCanUpgrade
This commit is contained in:
parent
393f30a082
commit
e1f3ea0cdb
|
@ -22,9 +22,9 @@ func TestCanUpgrade(t *testing.T) {
|
|||
GOOS string
|
||||
}{
|
||||
{Case: "Up to date", CurrentVersion: "3.0.0", LatestVersion: "v3.0.0"},
|
||||
{Case: "Oudated Windows", Expected: true, CurrentVersion: "3.0.0", LatestVersion: "v3.0.1", GOOS: platform.WINDOWS},
|
||||
{Case: "Oudated Linux", Expected: true, CurrentVersion: "3.0.0", LatestVersion: "v3.0.1", GOOS: platform.LINUX},
|
||||
{Case: "Oudated Darwin", Expected: true, CurrentVersion: "3.0.0", LatestVersion: "v3.0.1", GOOS: platform.DARWIN},
|
||||
{Case: "Outdated Windows", Expected: true, CurrentVersion: "3.0.0", LatestVersion: "v3.0.1", GOOS: platform.WINDOWS},
|
||||
{Case: "Outdated Linux", Expected: true, CurrentVersion: "3.0.0", LatestVersion: "v3.0.1", GOOS: platform.LINUX},
|
||||
{Case: "Outdated Darwin", Expected: true, CurrentVersion: "3.0.0", LatestVersion: "v3.0.1", GOOS: platform.DARWIN},
|
||||
{Case: "Cached", Cache: true},
|
||||
{Case: "Error", Error: fmt.Errorf("error")},
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue