Fix ListenerWithFilter test (dotnet/corefx#37731)
authorStephen Toub <stoub@microsoft.com>
Fri, 17 May 2019 00:31:47 +0000 (17:31 -0700)
committerGitHub <noreply@github.com>
Fri, 17 May 2019 00:31:47 +0000 (17:31 -0700)
commit8a3fa27d8f9369418820899f8fb1f0ee52d1dc88
tree6152ed2bfb4a1321f942cdbe130562b5960168a4
parentffa995524f11d3be93eb8a2b2a7755a56d8391df
Fix ListenerWithFilter test (dotnet/corefx#37731)

It's searching the output to ensure the id doesn't get written out, so it can't match other IDs that are written out.

Commit migrated from https://github.com/dotnet/corefx/commit/05233fd0c0200f1fda258bab148bbae28592892d
src/libraries/System.Diagnostics.TextWriterTraceListener/tests/XmlWriterTraceListenerTests.cs