File: fix-for-yyjson-0.12.patch

package info (click to toggle)
reflect-cpp 0.21.0%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 13,128 kB
  • sloc: cpp: 50,336; python: 139; makefile: 30; sh: 3
file content (23 lines) | stat: -rw-r--r-- 862 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Description: Fix for yyjson 0.12.0
Author: Shengqi Chen <harry@debian.org>
Bug: https://github.com/getml/reflect-cpp/issues/524
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1117428
Applied-Upstream: https://github.com/getml/reflect-cpp/commit/06988aa0e16f1cdec5e5d8bcb6f8dc435ecfa74e
Last-Update: 2025-10-24
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/tests/json/test_error_messages.cpp
+++ b/tests/json/test_error_messages.cpp
@@ -41,9 +41,9 @@
 
   EXPECT_TRUE(!result.has_value() && true);
 
-  EXPECT_EQ(result.error().what(),
-            "Could not parse document: unexpected character, expected a comma "
-            "or a closing brace");
+  EXPECT_EQ(
+      result.error().what(),
+      "Could not parse document: unexpected character, expected ',' or '}'");
 }
 
 }  // namespace test_error_messages