Skip to content

Commit e074b6a

Browse files
committed
Copy missing assertion test change
1 parent 3f1891d commit e074b6a

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

test/test.xunit.assert/Asserts/TypeAssertsTests.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -487,12 +487,13 @@ public CSharpDynamicAssembly() :
487487
base(Path.GetTempPath())
488488
{ }
489489

490-
protected override IEnumerable<string> GetStandardReferences() => Array.Empty<string>();
490+
protected override IEnumerable<string> GetStandardReferences() =>
491+
[];
491492

492493
public static async Task<CSharpDynamicAssembly> Create(string code)
493494
{
494495
var assembly = new CSharpDynamicAssembly();
495-
await assembly.Compile(new[] { code });
496+
await assembly.Compile([code]);
496497
return assembly;
497498
}
498499
}

0 commit comments

Comments
 (0)