mirror of
https://github.com/yiisoft/yii2.git
synced 2026-03-03 05:54:32 +01:00
Fixed encoding of empty ArrayExpression for PostgreSQL
This commit is contained in:
@@ -28,10 +28,11 @@ class ArrayParserTest extends TestCase
|
||||
['{1,2,}', ['1','2',null]],
|
||||
['{{},,1}', [[], null, '1']],
|
||||
['{"{\"key\":\"value\"}",NULL,"NULL","{}"}', ['{"key":"value"}', null, "NULL", '{}']],
|
||||
['{boo,",",,test', ['boo', ',', null, 'test']],
|
||||
['{boo,",",,test}', ['boo', ',', null, 'test']],
|
||||
['{"string1","str\\\\in\\"g2","str,ing3"}', ['string1','str\\in"g2','str,ing3']],
|
||||
['{{1,2,3},{4,5,6},{7,8,9}}', [['1','2','3'], ['4','5','6'], ['7','8','9']]],
|
||||
['{utf8€,👍}', ['utf8€', '👍']],
|
||||
['{"","","{}",{}}', ['', '', '{}', []]]
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user