1
0
mirror of https://github.com/muety/wakapi.git synced 2023-08-10 21:12:56 +03:00

fix: compatible with new wakatime-cli

This commit is contained in:
sdvcrx
2021-08-19 14:48:26 +08:00
parent f399fd4ea7
commit 825663acde
2 changed files with 7 additions and 1 deletions

View File

@@ -37,6 +37,12 @@ func TestCommon_ParseUserAgent(t *testing.T) {
"",
errors.New(""),
},
{
"wakatime/v1.18.11 (linux-5.13.8-200.fc34.x86_64-x86_64) go1.16.7 emacs-wakatime/1.0.2",
"linux",
"emacs",
nil,
},
}
for _, test := range tests {