mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-06 12:03:19 +00:00
[MAINT] Tweak User-Agent to refer to Octokit.net, not just Octokit (#2447)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user