diff --git a/tests/Filter/ArrayFilterTest.php b/tests/Filter/ArrayFilterTest.php index b63b505..ba54161 100644 --- a/tests/Filter/ArrayFilterTest.php +++ b/tests/Filter/ArrayFilterTest.php @@ -170,7 +170,7 @@ public function testJson(): void $this->assertEquals(1.4, ArrayFilter::json(1.4)); $this->assertEquals('[1,2]', ArrayFilter::json([1, 2])); $this->assertEquals('{"a":1,"b":2}', ArrayFilter::json(['a' => 1, 'b' => 2])); - $this->assertEquals('{ + $this->assertCommandOutput('{ "a": 1, "b": 2 }', ArrayFilter::json(['a' => 1, 'b' => 2], true));