Fix buffer comparison in stream conformance tests (#45012)
authorGeoff Kizer <geoffrek@microsoft.com>
Fri, 20 Nov 2020 23:12:55 +0000 (15:12 -0800)
committerGitHub <noreply@github.com>
Fri, 20 Nov 2020 23:12:55 +0000 (18:12 -0500)
commitc409a32a2a6a40a56d12568fb8ea513fdb6764b0
tree6cd1387fcaf1bdf52ff6598e21852941a04b4a25
parent07193b828792e3e3a4754854741f7e47764b964a
Fix buffer comparison in stream conformance tests (#45012)

* avoid using Assert.Equals for buffer comparison in stream conformance tests because it's super, super slow

* Apply suggestions from code review

update span comparisons

Co-authored-by: Stephen Toub <stoub@microsoft.com>
Co-authored-by: Geoffrey Kizer <geoffrek@windows.microsoft.com>
Co-authored-by: Stephen Toub <stoub@microsoft.com>
src/libraries/Common/tests/Tests/System/IO/StreamConformanceTests.cs