aboutsummaryrefslogtreecommitdiff
path: root/web/user_agent_test.go
blob: e2ffca04fa02a5aa26831683ad049c258d6a5fd9 (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)
}