update tests

This commit is contained in:
z7zmey
2018-04-09 23:26:44 +03:00
parent 83a1400a4f
commit 6ff2beafa3
76 changed files with 603 additions and 532 deletions

View File

@@ -3615,7 +3615,7 @@ func TestPhp5(t *testing.T) {
},
}
actual, _, _ := php5.Parse(bytes.NewBufferString(src), "test.php")
actual, _, _, _ := php5.Parse(bytes.NewBufferString(src), "test.php")
assertEqual(t, expected, actual)
}
@@ -3652,7 +3652,7 @@ func TestPhp5Strings(t *testing.T) {
},
}
actual, _, _ := php5.Parse(bytes.NewBufferString(src), "test.php")
actual, _, _, _ := php5.Parse(bytes.NewBufferString(src), "test.php")
assertEqual(t, expected, actual)
}
@@ -3718,6 +3718,6 @@ CAD;
},
}
actual, _, _ := php5.Parse(bytes.NewBufferString(src), "test.php")
actual, _, _, _ := php5.Parse(bytes.NewBufferString(src), "test.php")
assertEqual(t, expected, actual)
}