1
0
Fork 0

Add test for Generics class

Already worked, just adding a test.
pull/3831/head
Fred Emmott 2015-03-09 11:28:44 -07:00
parent bdf51ab16d
commit 23d5e30fbc
2 changed files with 5 additions and 0 deletions

View File

@ -78,6 +78,7 @@ class ClassMapGeneratorTest extends \PHPUnit_Framework_TestCase
$data[] = array(__DIR__.'/Fixtures/hhvm3.3', array( $data[] = array(__DIR__.'/Fixtures/hhvm3.3', array(
'FooEnum' => __DIR__.'/Fixtures/hhvm3.3/HackEnum.php', 'FooEnum' => __DIR__.'/Fixtures/hhvm3.3/HackEnum.php',
'Foo\BarEnum' => __DIR__.'/Fixtures/hhvm3.3/NamespacedHackEnum.php', 'Foo\BarEnum' => __DIR__.'/Fixtures/hhvm3.3/NamespacedHackEnum.php',
'GenericsClass' => __DIR__.'/Fixtures/hhvm3.3/Generics.php',
)); ));
} }

View File

@ -0,0 +1,4 @@
<?hh
class GenericsClass<Tk, Tv> {
}