mirror of
https://github.com/php/php-src.git
synced 2024-10-16 14:02:37 +00:00
15 lines
352 B
PHP
15 lines
352 B
PHP
<?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], '}');
|
|
}
|
|
}
|
|
?>
|