File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
EssentialCSharp.Web.Tests Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ public void FindCSyntaxFundamentalsSanitizedWithAnchorReturnsCorrectSiteMap()
8484 }
8585
8686 [ Fact ]
87- public void FindPercentComplete_KeyIsNull_ThrowsArgumentNullException ( )
87+ public void FindPercentComplete_KeyIsNull_ReturnsNull ( )
8888 {
8989 // Arrange
9090
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ public static class SiteMappingListExtensions
2929 /// Finds percent complete based on a key.
3030 /// </summary>
3131 /// <param name="siteMappings">IList of SiteMappings</param>
32- /// <param name="key">If null, uses the first key in the list </param>
32+ /// <param name="key">The key to search for. If null, returns null. </param>
3333 /// <returns>Returns a formatted double for use as the percent complete.</returns>
3434 public static string ? FindPercentComplete ( this IList < SiteMapping > siteMappings , string ? key )
3535 {
@@ -39,7 +39,7 @@ public static class SiteMappingListExtensions
3939 }
4040 if ( key . Trim ( ) . Length is 0 )
4141 {
42- throw new ArgumentException ( "Parameter key is whitespace or empty: " , nameof ( key ) ) ;
42+ throw new ArgumentException ( "Parameter ' key' cannot be null or whitespace. " , nameof ( key ) ) ;
4343 }
4444 int currentMappingCount = 0 ;
4545 int overallMappingCount = 0 ;
Original file line number Diff line number Diff line change 121121 </div >
122122 </div >
123123
124- <a v-if =" chapterParentPage" :href =" chapterParentPage.href" class =" menu menu-chapter-title text-light" >
124+ <a v-if =" chapterParentPage" :href =" chapterParentPage.href" class =" page- menu menu-chapter-title text-light" >
125125 <span v-cloak >{{ chapterParentPage .title }} </span >
126126 </a >
127- <div class =" menu menu-progress text-light" v-if =" isContentPage" >
127+ <div class =" page- menu menu-progress text-light" v-if =" isContentPage" >
128128 <span v-cloak >{{ percentComplete }} %</span >
129129 </div >
130130
Original file line number Diff line number Diff line change @@ -224,7 +224,7 @@ a:hover {
224224 }
225225}
226226
227- .menu {
227+ .page- menu {
228228 white-space : nowrap;
229229 overflow : hidden;
230230 text-decoration : none;
You can’t perform that action at this time.
0 commit comments