mirror of
https://github.com/safing/portbase
synced 2025-09-01 10:09:50 +00:00
Add name generation test case
This commit is contained in:
parent
a391eb3dad
commit
40015b54b7
1 changed files with 1 additions and 0 deletions
|
@ -21,6 +21,7 @@ func TestGenerateBinaryNameFromPath(t *testing.T) {
|
|||
assert.Equal(t, "Browser Broker", GenerateBinaryNameFromPath("browser_broker.exe"))
|
||||
assert.Equal(t, "Virtual Box VM", GenerateBinaryNameFromPath("VirtualBoxVM"))
|
||||
assert.Equal(t, "Io Elementary Appcenter", GenerateBinaryNameFromPath("io.elementary.appcenter"))
|
||||
assert.Equal(t, "Microsoft Windows Store", GenerateBinaryNameFromPath("Microsoft.WindowsStore"))
|
||||
}
|
||||
|
||||
func TestCleanFileDescription(t *testing.T) {
|
||||
|
|
Loading…
Add table
Reference in a new issue