Skip to content

Commit

Permalink
Added more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
norberttech committed Sep 27, 2024
1 parent 51bd525 commit b9c7bca
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,17 @@ public static function provide_logical_types_data() : \Generator
'map<string, ?integer>',
];

yield 'structure with first null element and then mixed int and string' => [
[
'one' => null,
'two' => null,
'three' => 3,
'four' => '4',
],
StructureType::class,
'structure{one: null, two: null, three: integer, four: string}',
];

yield 'map with string key, of maps string with string' => [
[
'one' => [
Expand Down

0 comments on commit b9c7bca

Please sign in to comment.