Skip to content

Commit

Permalink
added tests for redundant whitespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
juzna committed Aug 18, 2012
1 parent d414a15 commit 885ab13
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 1 deletion.
2 changes: 1 addition & 1 deletion examples/03-generics/GenericsExample/Other/ArrayHash.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@






class ArrayHash<Key, Val > class ArrayHash<Key, Val>
{ {


} }
33 changes: 33 additions & 0 deletions examples/03-generics/tests/06.phpt
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,33 @@
more type arguments
<?php#e
namespace A\B;
class ArrayHash<Key, Val>
{

}
?>
<?php#c
namespace A\B;
\GenericsRegistry::registerClass('A\B\ArrayHash', array('Key', 'Val'));class ArrayHash implements \GenericType
{public function getParametrizedType($parameterName) { return \GenericsRegistry::getParametrizedTypesForObject($this); }

}
?>
------------------------------------------------j-d--


more type arguments and whitespaces there and over
<?php#e
namespace A\B;
class ArrayHash< Key, Val >
{

}
?>
<?php#c
namespace A\B;
\GenericsRegistry::registerClass('A\B\ArrayHash', array('Key', 'Val'));class ArrayHash implements \GenericType
{public function getParametrizedType($parameterName) { return \GenericsRegistry::getParametrizedTypesForObject($this); }

}
?>

0 comments on commit 885ab13

Please sign in to comment.