summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/corpix/uarand/uarand_test.go
blob: 0659ff200a3708ba532cdfca80216ba328a040b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
package uarand

import (
	"testing"

	"github.com/stretchr/testify/assert"
)

func TestGetRandom(t *testing.T) {
	for k := 0; k < len(UserAgents)*10; k++ {
		assert.NotEqual(t, "", GetRandom())
	}
}