Skip to content

Commit

Permalink
.net 8 -> preview7
Browse files Browse the repository at this point in the history
  • Loading branch information
erikbra committed Aug 10, 2023
1 parent 01387c5 commit ce4e45e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion smink.UnitTests/RunUnitTestsFixture.cs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ private static string FindExampleTestProjectFolder(string here)
do
{
currentFolder = currentFolder.Parent;
var directories = currentFolder.GetDirectories(folderToFind);
var directories = currentFolder!.GetDirectories(folderToFind);
found = directories.Length != 0;
} while (!found && currentFolder != currentFolder.Root);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ public void Failed_test_has_correct_Failure_Message() => _failedTest.Failure!.Me

[Fact]
public void Failed_test_has_correct_Failure_StackTrace() => _failedTest.Failure!.StackTrace.Should().Be(
$@" at xUnit.ExampleTests.Set1.TestSuites.Adding_a_new_customer.When_the_customer_is_too_old.We_make_them_happy() in {_fixture.ExampleTestProjectFolder}/xUnit.ExampleTests.Set1/TestSuites/Adding_a_new_customer/When_the_customer_is_too_old.cs:line 12
$@" at xUnit.ExampleTests.Set1.TestSuites.Adding_a_new_customer.When_the_customer_is_too_old.We_make_them_happy() in /Users/erik/src/Repos/erikbra/smink/ExampleTestProjects/xUnit.ExampleTests/xUnit.ExampleTests.Set1/TestSuites/Adding_a_new_customer/When_the_customer_is_too_old.cs:line 12
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)");
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)");


}
7 changes: 3 additions & 4 deletions smink/smink.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,9 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Components" Version="8.0.0-preview.6.23329.11" />
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="8.0.0-preview.6.23329.11" />
<PackageReference Include="Microsoft.Extensions.Logging" Version="8.0.0-preview.6.23329.7" />
<!-- <PackageReference Include="Microsoft.XmlSerializer.Generator" Version="8.0.0-preview.4.23259.5" />-->
<PackageReference Include="Microsoft.AspNetCore.Components" Version="8.0.0-preview.7.23375.9" />
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="8.0.0-preview.7.23375.9" />
<PackageReference Include="Microsoft.Extensions.Logging" Version="8.0.0-preview.7.23375.6" />

</ItemGroup>

Expand Down

0 comments on commit ce4e45e

Please sign in to comment.