Fix typo while merging conflicting PRs (s_readerOptions was renamed to s_options...
authorAhson Khan <ahkha@microsoft.com>
Wed, 26 Jun 2019 15:26:34 +0000 (08:26 -0700)
committerGitHub <noreply@github.com>
Wed, 26 Jun 2019 15:26:34 +0000 (08:26 -0700)
Commit migrated from https://github.com/dotnet/corefx/commit/a72deda9c19ca48bc5ec81650f5b4d7da780d75f

src/libraries/System.Text.Json/tests/JsonElementWriteTests.cs

index 73a3c76..232da36 100644 (file)
@@ -1176,7 +1176,7 @@ null,
             string expectedMinimal)
         {
             var buffer = new ArrayBufferWriter<byte>(1024);
-            using (JsonDocument doc = JsonDocument.Parse($" [  {jsonIn}  ]", s_readerOptions))
+            using (JsonDocument doc = JsonDocument.Parse($" [  {jsonIn}  ]", s_options))
             {
                 JsonElement target = doc.RootElement[0];