TestRandomString tests if RandomString returns the correct character length
(t *testing.T)
| 12 | |
| 13 | // TestRandomString tests if RandomString returns the correct character length |
| 14 | func TestRandomString(t *testing.T) { |
| 15 | randomString := nodeps.RandomString(10) |
| 16 | |
| 17 | // is RandomString as long as required |
| 18 | require.Equal(t, 10, len(randomString)) |
| 19 | } |
| 20 | |
| 21 | // TestPathWithSlashesToArray tests PathWithSlashesToArray |
| 22 | func TestPathWithSlashesToArray(t *testing.T) { |
nothing calls this directly
no test coverage detected