Skip to content

Commit

Permalink
Ignore AppDomain state changes caused by System.Configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
mhutch committed Oct 3, 2022
1 parent f5bf54d commit 68f9e73
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Mono.TextTemplating.Tests/AppDomainTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,10 @@ protected override void VerifyFinalState (SnapshotSet<string> state)
}

static bool ShouldIgnoreAssemblyAdd (string name) =>
// System.Configuration may cause these to load in the main AppDomain
name.StartsWith ("System.Configuration,", StringComparison.Ordinal) ||
name.StartsWith ("System.Xml.Linq,", StringComparison.Ordinal) ||
name.StartsWith ("System.Data,", StringComparison.Ordinal) ||
name.StartsWith ("System.Reflection,", StringComparison.Ordinal);

[Fact]
Expand Down

0 comments on commit 68f9e73

Please sign in to comment.