[MAINT] Tweak User-Agent to refer to Octokit.net, not just Octokit (#2447)

This commit is contained in:
Tim Rogers
2022-07-11 15:04:44 +01:00
committed by GitHub
parent b023602347
commit 3d6cdc459f
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
@@ -771,6 +771,7 @@ namespace Octokit.Tests.Http
Assert.Equal(new Uri("https://github.com/"), connection.BaseAddress);
Assert.StartsWith("OctokitTests (", connection.UserAgent);
Assert.Contains("Octokit.net", connection.UserAgent);
}
}