Skip to content

Commit

Permalink
move back to just testing net8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Mpdreamz committed Oct 2, 2024
1 parent d19c20b commit c2c4270
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions tests/Proc.Tests/PrintArgsTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ public void ArgumentsSeesArgumentsAfterQuoted()
string[] testArgs = ["this argument has spaces", "hello", "world"];
AssertOutput(testArgs);
}
[Fact]
public void EscapedQuotes()
{
string[] testArgs = ["\"this argument has spaces\"", "hello", "world"];
AssertOutput(testArgs);
}

private void AssertOutput(string[] testArgs)
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Proc.Tests/Proc.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net462; net8.0</TargetFrameworks>
<TargetFramework>net8.0</TargetFramework>
<AssemblyName>Proc.Tests</AssemblyName>
<RootNamespace>ProcNet.Tests</RootNamespace>
<IsPackable>false</IsPackable>
Expand Down

0 comments on commit c2c4270

Please sign in to comment.