Skip to content

Commit

Permalink
Move func
Browse files Browse the repository at this point in the history
  • Loading branch information
mileusna committed Sep 13, 2024
1 parent 30a7616 commit df8f29e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions ua_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -212,11 +212,6 @@ func TestParse(t *testing.T) {
}
}

func TestSingle(t *testing.T) {
agent := ua.Parse("SonyEricssonK310iv/R4DA Browser/NetFront/3.3 Profile/MIDP-2.0 Configuration/CLDC-1.1 UP.Link/6.3.1.13.0")
fmt.Printf("\n%+v\n", agent)
}

var testUA ua.UserAgent

func BenchmarkUserAgent(b *testing.B) {
Expand All @@ -227,6 +222,11 @@ func BenchmarkUserAgent(b *testing.B) {
}
}

func TestSingle(t *testing.T) {
agent := ua.Parse("SonyEricssonK310iv/R4DA Browser/NetFront/3.3 Profile/MIDP-2.0 Configuration/CLDC-1.1 UP.Link/6.3.1.13.0")
fmt.Printf("\n%+v\n", agent)
}

func ExampleParse() {
userAgents := []string{
// Mac
Expand Down

0 comments on commit df8f29e

Please sign in to comment.