Skip to content

Commit bb50b1e

Browse files
author
Sam Harrison
committed
chore: update license references
1 parent 1a0c0ec commit bb50b1e

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![Travis Badge](https://travis-ci.org/sendgrid/csharp-http-client.svg?branch=main)](https://travis-ci.org/sendgrid/csharp-http-client)
44
[![NuGet](https://img.shields.io/nuget/v/SendGrid.CSharp.Http.Client.svg)](https://www.nuget.org/packages/SendGrid.CSharp.HTTP.Client)
5-
[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE.md)
5+
[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
66
[![Twitter Follow](https://img.shields.io/twitter/follow/sendgrid.svg?style=social&label=Follow)](https://twitter.com/sendgrid)
77
[![GitHub contributors](https://img.shields.io/github/contributors/sendgrid/csharp-http-client.svg)](https://github.com/sendgrid/csharp-http-client/graphs/contributors)
88

@@ -118,4 +118,4 @@ If you need help installing or using the library, please check the [Twilio SendG
118118
If you've instead found a bug in the library or would like new features added, go ahead and open issues or pull requests against this repo!
119119

120120
# License
121-
[The MIT License (MIT)](LICENSE.md)
121+
[The MIT License (MIT)](LICENSE)

UnitTest/RequiredFilesExistTest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ public void checkIssuesTemplateExists() {
5757
Assert.True(File.Exists("./ISSUE_TEMPLATE.md"));
5858
}
5959

60-
// ./LICENSE.md
60+
// ./LICENSE
6161
public void checkLicenseExists() {
62-
Assert.True(File.Exists("./LICENSE.md"));
62+
Assert.True(File.Exists("./LICENSE"));
6363
}
6464

6565
// ./PULL_REQUEST_TEMPLATE.md

UnitTest/UnitTest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public override Task<Response> MakeRequest(HttpClient client, HttpRequestMessage
3030
response.StatusCode = HttpStatusCode.OK;
3131

3232
cancellationToken.ThrowIfCancellationRequested();
33-
33+
3434
return new Response(response.StatusCode, response.Content, response.Headers);
3535
}, cancellationToken);
3636
}
@@ -104,7 +104,7 @@ public class TestRepositoryFiles
104104
[Test]
105105
public void TestLicenseEndYear()
106106
{
107-
var licensePath = Path.Combine("..", "..", "..", "LICENSE.md");
107+
var licensePath = Path.Combine("..", "..", "..", "LICENSE");
108108
string line = File.ReadLines(licensePath).Skip(2).Take(1).First();
109109

110110
Assert.AreEqual(DateTime.Now.Year.ToString(), line.Substring(14, 4));

0 commit comments

Comments
 (0)