summaryrefslogtreecommitdiff
path: root/scripts/dev/generate-phpt/tests/gtCodeSnippetTest.php
blob: bc0c48a5a1c06f0896f0edcd2a9f45503e7df211 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php
require_once 'PHPUnit/Framework.php';
require_once dirname(__FILE__) . '/../src/gtAutoload.php';


class gtCodeSnippetTest extends PHPUnit_Framework_TestCase
{
  
  public function testAppend() {
    $array = array('something', 'nothing');
    $array = gtCodeSnippet::append('loopClose', $array);
    $this->assertEquals($array[2], '}');
  }
}
?>