From b03778465800e6d8a534b2fb79656a9f9ba7e245 Mon Sep 17 00:00:00 2001 From: Layomi Akinrinade Date: Tue, 14 Apr 2020 17:35:43 -0400 Subject: [PATCH] Fix WriteLargeJsonToStreamWithoutFlushing test (#34914) --- src/libraries/System.Text.Json/tests/Utf8JsonWriterTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libraries/System.Text.Json/tests/Utf8JsonWriterTests.cs b/src/libraries/System.Text.Json/tests/Utf8JsonWriterTests.cs index af7a511e6dbe3..b01a19d4d0ec1 100644 --- a/src/libraries/System.Text.Json/tests/Utf8JsonWriterTests.cs +++ b/src/libraries/System.Text.Json/tests/Utf8JsonWriterTests.cs @@ -752,7 +752,7 @@ public void WriteLargeJsonToStreamWithoutFlushing() Assert.Equal(1_050_097_521, writer.BytesPending); // Next write forces a grow beyond 2 GB - Assert.Throws(() => writer.WriteStringValue(text3)); + Assert.Throws(() => writer.WriteStringValue(text3)); Assert.Equal(1_050_097_521, writer.BytesPending);