[前][次][番号順一覧][スレッド一覧]

ruby-changes:63120

From: Marc-Andre <ko1@a...>
Date: Fri, 25 Sep 2020 17:29:17 +0900 (JST)
Subject: [ruby-changes:63120] e30d1b0923 (master): Fix pure parser with unclosed arrays / objects [Fix #314]

https://git.ruby-lang.org/ruby.git/commit/?id=e30d1b0923

From e30d1b0923d79dc55c8b47247cae9e5aa3007459 Mon Sep 17 00:00:00 2001
From: Marc-Andre Lafortune <github@m...>
Date: Tue, 30 Jun 2020 01:10:49 -0400
Subject: Fix pure parser with unclosed arrays / objects [Fix #314]


diff --git a/test/json/fixtures/fail29.json b/test/json/fixtures/fail29.json
new file mode 100644
index 0000000..98232c6
--- /dev/null
+++ b/test/json/fixtures/fail29.json
@@ -0,0 +1 @@
+{
diff --git a/test/json/fixtures/fail30.json b/test/json/fixtures/fail30.json
new file mode 100644
index 0000000..558ed37
--- /dev/null
+++ b/test/json/fixtures/fail30.json
@@ -0,0 +1 @@
+[
diff --git a/test/json/fixtures/fail31.json b/test/json/fixtures/fail31.json
new file mode 100644
index 0000000..70773e4
--- /dev/null
+++ b/test/json/fixtures/fail31.json
@@ -0,0 +1 @@
+[1, 2, 3,
diff --git a/test/json/fixtures/fail32.json b/test/json/fixtures/fail32.json
new file mode 100644
index 0000000..b18d550
--- /dev/null
+++ b/test/json/fixtures/fail32.json
@@ -0,0 +1 @@
+{"foo": "bar"
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]