Skip to content

Commit

Permalink
Update syntax to {} in SerdeTypeParserTest
Browse files Browse the repository at this point in the history
  • Loading branch information
rowanhill committed Jan 15, 2023
1 parent 0747a47 commit 3c50603
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/WireMock/SerdeGen/SerdeTypeParserTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ public function testParsingAssocArrayWithBadPrimitiveKeyTypeIsNotSupported($keyI
public function testParsingAssocArrayWithNonPrimitiveKeyTypeIsNotSupported($keyInputType)
{
$this->expectErrorMessage('An array can have only integers or strings as keys');
$this->parser->parseTypeString("array<${keyInputType}[], int>");
$this->parser->parseTypeString("array<{$keyInputType}[], int>");
}

public function testParsingUnionOfPrimitivesAndNull()
Expand Down

0 comments on commit 3c50603

Please sign in to comment.