mirror of
https://github.com/duke-git/lancet.git
synced 2026-02-04 12:52:28 +08:00
14 lines
208 B
Go
14 lines
208 B
Go
//go:build windows
|
|
|
|
package fileutil
|
|
|
|
import "testing"
|
|
|
|
func TestGetExeOrDllVersion(t *testing.T) {
|
|
v, err := GetExeOrDllVersion(`C:\Windows\System32\cmd.exe`)
|
|
if err != nil {
|
|
t.Error(err)
|
|
}
|
|
t.Log(v)
|
|
}
|