mirror of
https://github.com/duke-git/lancet.git
synced 2026-11-16 05:12:11 +08:00
doc: update doc for RandNumberOfLength and GetExeOrDllVersion
This commit is contained in:
1 parent
ed93aae970
commit
0a2cc9c928
10 files changed
+86
-24
No files matched your search
@@ -362,9 +362,9 @@ func TestRandBoolSlice(t *testing.T) {
|
||||
}
|
||||
})
|
||||
}
|
||||
func TestRandNumLen(t *testing.T) {
|
||||
func TestRandNumberOfLength(t *testing.T) {
|
||||
t.Parallel()
|
||||
randi := RandNumLen(6)
|
||||
assert := internal.NewAssert(t, "TestRandNumLen")
|
||||
randi := RandNumberOfLength(6)
|
||||
assert := internal.NewAssert(t, "TestRandNumberOfLength")
|
||||
assert.Equal(6, len(strconv.Itoa(randi)))
|
||||
}
|
||||
Reference in new issue
Block a user