Skip to content

Commit 9c2a529

Browse files
committed
Small cleanup
1 parent 1de9c2c commit 9c2a529

File tree

5 files changed

+6
-9
lines changed

5 files changed

+6
-9
lines changed

LinkDotNet.Blog.Domain/ProficiencyLevel.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,11 @@ public class ProficiencyLevel : Enumeration<ProficiencyLevel>
77
public static readonly ProficiencyLevel Expert = new(nameof(Expert));
88

99
private ProficiencyLevel()
10-
: base()
1110
{
1211
}
1312

1413
private ProficiencyLevel(string key)
1514
: base(key)
1615
{
1716
}
18-
}
17+
}

LinkDotNet.Blog.IntegrationTests/Web/Shared/ProfileTests.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
using System;
22
using System.Collections.Generic;
33
using System.Linq.Expressions;
4-
using AngleSharp.Dom;
54
using Bunit;
65
using FluentAssertions;
76
using LinkDotNet.Blog.Domain;
@@ -175,4 +174,4 @@ private static void SetupGetAll(
175174
It.IsAny<int>())).ReturnsAsync(new List<ProfileInformationEntry>().ToPagedList());
176175
return (repoMock, calcMock);
177176
}
178-
}
177+
}

LinkDotNet.Blog.UnitTests/Web/Shared/SearchInputTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@ public void ShouldTrimData()
5353
public void ShouldReturnValueWhenEnterWasPressed(string key, bool expectedInvoke)
5454
{
5555
var wasInvoked = false;
56-
var cut = RenderComponent<SearchInput>(p => p.Add(s => s.SearchEntered, s => wasInvoked = true));
56+
var cut = RenderComponent<SearchInput>(p => p.Add(s => s.SearchEntered, _ => wasInvoked = true));
5757
cut.Find("input").Change("Text");
5858

5959
cut.Find("input").KeyUp(Key.Get(key));
6060

6161
wasInvoked.Should().Be(expectedInvoke);
6262
}
63-
}
63+
}

LinkDotNet.Blog.Web/Pages/Admin/DashboardService.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using System;
2-
using System.Collections.Generic;
32
using System.Linq;
43
using System.Threading.Tasks;
54
using LinkDotNet.Blog.Domain;
@@ -46,4 +45,4 @@ public async Task<DashboardData> GetDashboardDataAsync()
4645
AboutMeClicksLast30Days = aboutMeClicksLast30Days,
4746
};
4847
}
49-
}
48+
}

LinkDotNet.Blog.Web/Pages/Index.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<section>
2121
<header>
2222
<div class="recent-posts">
23-
<h1>Recent Posts</h1>
23+
<h1>Recent Posts's</h1>
2424
</div>
2525
</header>
2626
<div class="content px-4 my-2">

0 commit comments

Comments
 (0)