test(aot): 更新 trait 测试用例的期望输出

- 修改测试标题为 trait full class name
- 添加对象实例的期望输出结构
- 包含属性值 Hello 1 的字符串验证
- 完善命名空间类的输出格式
pull/1/head
韩天峰 4 months ago
parent ffdf4c6653
commit 37bfc24432
  1. 8
      tests/aot/trait/009.phpt

@ -1,5 +1,5 @@
--TEST--
Method conflict in traits
trait full class name
--FILE--
<?php
namespace App1 {
@ -36,4 +36,8 @@ namespace {
}
}
?>
--EXPECT--
--EXPECT--
object(App1\Foo1)#1 (1) {
["prop"]=>
string(7) "Hello 1"
}
Loading…
Cancel
Save