From 37bfc244323cff62e8b5db2abf5d362316a64337 Mon Sep 17 00:00:00 2001 From: tianfenghan Date: Tue, 21 Apr 2026 20:32:18 +0800 Subject: [PATCH] =?UTF-8?q?test(aot):=20=E6=9B=B4=E6=96=B0=20trait=20?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E7=94=A8=E4=BE=8B=E7=9A=84=E6=9C=9F=E6=9C=9B?= =?UTF-8?q?=E8=BE=93=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 修改测试标题为 trait full class name - 添加对象实例的期望输出结构 - 包含属性值 Hello 1 的字符串验证 - 完善命名空间类的输出格式 --- tests/aot/trait/009.phpt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/aot/trait/009.phpt b/tests/aot/trait/009.phpt index 48e0e684..120f777f 100644 --- a/tests/aot/trait/009.phpt +++ b/tests/aot/trait/009.phpt @@ -1,5 +1,5 @@ --TEST-- -Method conflict in traits +trait full class name --FILE-- ---EXPECT-- \ No newline at end of file +--EXPECT-- +object(App1\Foo1)#1 (1) { + ["prop"]=> + string(7) "Hello 1" +} \ No newline at end of file