Skip to content
Permalink
Browse files

Add workarounds for class-string tests

  • Loading branch information
muglug committed Nov 30, 2019
1 parent 088228f commit abdf37afb8339f6d3d3208c4efda092bb9463d88
Showing with 4 additions and 4 deletions.
  1. +4 −4 tests/TypeParseTest.php
@@ -732,8 +732,8 @@ public function testCallableWithoutReturn()
public function testCombineLiteralStringWithClassString()
{
$this->assertSame(
'string',
(string)Type::parseString('"array"|class-string')
'class-string|string(array)',
Type::parseString('"array"|class-string')->getId()
);
}
@@ -743,8 +743,8 @@ public function testCombineLiteralStringWithClassString()
public function testCombineLiteralClassStringWithClassString()
{
$this->assertSame(
'class-string',
(string)Type::parseString('A::class|class-string')
'A::class|class-string',
Type::parseString('A::class|class-string')->getId()
);
}

0 comments on commit abdf37a

Please sign in to comment.
You can’t perform that action at this time.