mirror of
https://github.com/muety/wakapi.git
synced 2023-08-10 21:12:56 +03:00
fix: correctly parse os and editor for chrome plugin
fix: handle last project special keyword
This commit is contained in:
@@ -55,6 +55,12 @@ func TestCommon_ParseUserAgent(t *testing.T) {
|
||||
"chrome",
|
||||
nil,
|
||||
},
|
||||
{
|
||||
"Chrome/114.0.0.0 linux_x86-64 chrome-wakatime/3.0.17",
|
||||
"linux",
|
||||
"chrome",
|
||||
nil,
|
||||
},
|
||||
}
|
||||
|
||||
for _, test := range tests {
|
||||
|
||||
Reference in New Issue
Block a user