mirror of
https://github.com/muety/wakapi.git
synced 2023-08-10 21:12:56 +03:00
chore: fix user agent parsing for unset wakatime version (resolve #306) [ci skip]
This commit is contained in:
@ -43,6 +43,12 @@ func TestCommon_ParseUserAgent(t *testing.T) {
|
||||
"emacs",
|
||||
nil,
|
||||
},
|
||||
{
|
||||
"wakatime/unset (linux-5.11.0-44-generic-x86_64) go1.16.13 emacs-wakatime/1.0.2",
|
||||
"linux",
|
||||
"emacs",
|
||||
nil,
|
||||
},
|
||||
}
|
||||
|
||||
for _, test := range tests {
|
||||
|
Reference in New Issue
Block a user