You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
352 B

  1. <?php
  2. require_once 'PHPUnit/Framework.php';
  3. require_once dirname(__FILE__) . '/../src/gtAutoload.php';
  4. class gtCodeSnippetTest extends PHPUnit_Framework_TestCase
  5. {
  6. public function testAppend() {
  7. $array = array('something', 'nothing');
  8. $array = gtCodeSnippet::append('loopClose', $array);
  9. $this->assertEquals($array[2], '}');
  10. }
  11. }
  12. ?>