Update command_test.go
This commit is contained in:
parent
f3c3c143f0
commit
59467404d9
@ -25,7 +25,7 @@ func Test_getCommand(t *testing.T) {
|
|||||||
osType: types.Ubuntu,
|
osType: types.Ubuntu,
|
||||||
packageName: []string{"testPackage"},
|
packageName: []string{"testPackage"},
|
||||||
},
|
},
|
||||||
want: "sudo -S apt install testPackage",
|
want: "sudo -S nala install testPackage",
|
||||||
wantErr: false,
|
wantErr: false,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -35,7 +35,7 @@ func Test_getCommand(t *testing.T) {
|
|||||||
osType: types.Arch,
|
osType: types.Arch,
|
||||||
packageName: []string{"testPackage"},
|
packageName: []string{"testPackage"},
|
||||||
},
|
},
|
||||||
want: "apx --aur install testPackage",
|
want: "apx pikman-arch-linux install testPackage",
|
||||||
wantErr: false,
|
wantErr: false,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -45,7 +45,7 @@ func Test_getCommand(t *testing.T) {
|
|||||||
osType: types.Arch,
|
osType: types.Arch,
|
||||||
packageName: []string{"--name testName", "testPackage"},
|
packageName: []string{"--name testName", "testPackage"},
|
||||||
},
|
},
|
||||||
want: "apx --aur install --name testName testPackage",
|
want: "apx pikman-arch-linux install --name testName testPackage",
|
||||||
wantErr: false,
|
wantErr: false,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user