aboutsummaryrefslogtreecommitdiff
path: root/web/user_agent_test.go
blob: c2ecb6e924460dff0951cc61c4c06cac9c7aff93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
package web

import "testing"

func TestGenUserAgent(t *testing.T) {
	ua := GenUserAgent()
	if ua == "" {
		t.Fatal("no user agent generated")
	}

	t.Log(ua)
}