mirror of
https://github.com/deuill/go-php.git
synced 2024-09-21 00:40:45 +00:00
Rename tests
directory to `test.
This commit is contained in:
parent
44909ebb7f
commit
ee779b3698
@ -12,7 +12,7 @@ var execTests = []struct {
|
||||
file string // Filename to run
|
||||
expected string // Expected output
|
||||
}{
|
||||
{"hello.php", "Hello World"},
|
||||
{"echo.php", "Hello World"},
|
||||
}
|
||||
|
||||
func TestContextExec(t *testing.T) {
|
||||
@ -39,5 +39,5 @@ func TestContextExec(t *testing.T) {
|
||||
|
||||
func init() {
|
||||
wd, _ := os.Getwd()
|
||||
testDir = path.Join(wd, "tests")
|
||||
testDir = path.Join(wd, "test")
|
||||
}
|
||||
|
@ -4,7 +4,4 @@
|
||||
* Simple Hello World PHP test.
|
||||
*/
|
||||
|
||||
$h = 'Hello';
|
||||
$w = 'World';
|
||||
|
||||
echo "$h $w";
|
||||
echo 'Hello World';
|
Loading…
Reference in New Issue
Block a user