We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffef3bb commit 6c22d73Copy full SHA for 6c22d73
tests/AttributeHandlerTest.php
@@ -37,6 +37,8 @@ public function testGetValue()
37
$this->assertSame('Version', $element->getAttributeValue('name'));
38
$this->assertSame('2.2', $element->getAttributeValue('default'));
39
$this->assertSame('2.2', $element->getAttributeValue('default', false, true, null));
40
+ $this->assertSame(2, $element->getAttributeValue('default', false, true, 'int'));
41
+ $this->assertSame(2.2, $element->getAttributeValue('default', false, true, 'float'));
42
}
43
/**
44
*
0 commit comments