mirror of
https://github.com/duke-git/lancet.git
synced 2026-02-13 01:02:28 +08:00
单独剥离出来一个为windows的,增加RandNumLen为取指定长度随机数.
This commit is contained in:
13
fileutil/file_windows_test.go
Normal file
13
fileutil/file_windows_test.go
Normal file
@@ -0,0 +1,13 @@
|
||||
//go:build windows
|
||||
|
||||
package fileutil
|
||||
|
||||
import "testing"
|
||||
|
||||
func TestGetExeDllVersion(t *testing.T) {
|
||||
v, err := GetExeDllVersion(`C:\Windows\System32\cmd.exe`)
|
||||
if err != nil {
|
||||
t.Error(err)
|
||||
}
|
||||
t.Log(v)
|
||||
}
|
||||
Reference in New Issue
Block a user