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

@@ -3166,7 +3166,7 @@ func TestPhp7(t *testing.T) {
},
}
actual, _, _ := php7.Parse(bytes.NewBufferString(src), "test.php")
actual, _, _, _ := php7.Parse(bytes.NewBufferString(src), "test.php")
assertEqual(t, expected, actual)
}
@@ -3203,7 +3203,7 @@ func TestPhp5Strings(t *testing.T) {
},
}
actual, _, _ := php7.Parse(bytes.NewBufferString(src), "test.php")
actual, _, _, _ := php7.Parse(bytes.NewBufferString(src), "test.php")
assertEqual(t, expected, actual)
}
@@ -3269,6 +3269,6 @@ CAD;
},
}
actual, _, _ := php7.Parse(bytes.NewBufferString(src), "test.php")
actual, _, _, _ := php7.Parse(bytes.NewBufferString(src), "test.php")
assertEqual(t, expected, actual)
}