File: 0001-Fix-JsonConverterTest-568.patch

package info (click to toggle)
php-league-csv 9.24.1%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 39,744 kB
  • sloc: php: 13,447; javascript: 80; makefile: 33; xml: 29
file content (21 lines) | stat: -rw-r--r-- 706 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
From: ignace nyamagana butera <nyamsprod@gmail.com>
Date: Mon, 8 Sep 2025 22:52:11 +0200
Subject: Fix JsonConverterTest #568

---
 src/JsonConverterTest.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/JsonConverterTest.php b/src/JsonConverterTest.php
index 571767c..49b6df0 100644
--- a/src/JsonConverterTest.php
+++ b/src/JsonConverterTest.php
@@ -133,7 +133,7 @@ final class JsonConverterTest extends TestCase
             ->withoutHexQuot()
             ->depth(24);
 
-        self::assertEquals($usingJsonFlags, $usingMethodFlags);
+        self::assertSame($usingJsonFlags->encode([['foo' => 'bar']]), $usingMethodFlags->encode([['foo' => 'bar']]));
     }
 
     #[Test]