Fix exception tests where we are asserting against the literal message (dotnet/corefx...
authorLayomi Akinrinade <laakinri@microsoft.com>
Wed, 13 Nov 2019 05:25:46 +0000 (21:25 -0800)
committermsftbot[bot] <48340428+msftbot[bot]@users.noreply.github.com>
Wed, 13 Nov 2019 05:25:46 +0000 (05:25 +0000)
commitabcbe94bbb73cf4ab4173bd16e1fabdde3468769
tree19cc5fe7171870461683576c6c0eacabb4100e61
parent65e498fd99bef16de75b7840c6131aaa59b86608
Fix exception tests where we are asserting against the literal message (dotnet/corefx#42569)

* Fix up exception tests where we are asserting against the literal message

* Remove null assignments

Commit migrated from https://github.com/dotnet/corefx/commit/dd1892dc53e28b481bfab364a08573214d3df462
src/libraries/System.Text.Json/tests/NewtonsoftTests/CustomObjectConverterTests.cs
src/libraries/System.Text.Json/tests/NewtonsoftTests/EnumConverterTests.cs
src/libraries/System.Text.Json/tests/NewtonsoftTests/ImmutableCollectionsTests.cs
src/libraries/System.Text.Json/tests/NewtonsoftTests/JsonSerializerTests.cs