mirror of
https://github.com/rclone/rclone.git
synced 2025-02-15 01:23:56 +08:00
![Nick Craig-Wood](/assets/img/avatar_default.png)
This was factored from fstest as we were including the testing
enviroment into the main binary because of it.
This was causing opening the browser to fail because of 8243ff8bc8
.
14 lines
180 B
Go
14 lines
180 B
Go
package random
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
func TestString(t *testing.T) {
|
|
for i := 0; i < 100; i++ {
|
|
assert.Equal(t, i, len(String(i)))
|
|
}
|
|
}
|