feat: add selected update installs and polished UI
This commit is contained in:
11
internal/gui/server_test.go
Normal file
11
internal/gui/server_test.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package gui
|
||||
|
||||
import "testing"
|
||||
|
||||
func TestShellPackageList(t *testing.T) {
|
||||
got := shellPackageList([]string{"vapoursynth", "libastal-4-git", "vapoursynth", "bad package"})
|
||||
want := "'vapoursynth' 'libastal-4-git'"
|
||||
if got != want {
|
||||
t.Fatalf("shellPackageList() = %q, want %q", got, want)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user