File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 55 hooks :
66 - id : dotnet-format
77 name : dotnet format
8- entry : dotnet format --include
8+ entry : bash -lc " dotnet restore && dotnet format --include --no-restore"
99 language : system
1010 pass_filenames : true
1111 files : ' \.(cs|vb|fs|sln|csproj|fsproj)$'
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ public void ParseTEndPointIpv4AndIpv6Url_NoPort_ReturnsEmptyEndpoint()
7575 var endpoint = _utils . ParseTEndPointIpv4AndIpv6Url ( noPort ) ;
7676
7777 // Assert
78- Assert . That ( string . IsNullOrEmpty ( endpoint . Ip ) && endpoint . Port == 0 ,
78+ Assert . That ( string . IsNullOrEmpty ( endpoint . Ip ) && endpoint . Port == 0 ,
7979 Is . True , "Failed to handle missing port." ) ;
8080 }
8181
@@ -89,7 +89,7 @@ public void ParseTEndPointIpv4AndIpv6Url_EmptyInput_ReturnsEmptyEndpoint()
8989 var endpoint = _utils . ParseTEndPointIpv4AndIpv6Url ( emptyInput ) ;
9090
9191 // Assert
92- Assert . That ( string . IsNullOrEmpty ( endpoint . Ip ) && endpoint . Port == 0 ,
92+ Assert . That ( string . IsNullOrEmpty ( endpoint . Ip ) && endpoint . Port == 0 ,
9393 Is . True , "Failed to handle empty input." ) ;
9494 }
9595
You can’t perform that action at this time.
0 commit comments