Skip to content

Commit 8b69acd

Browse files
committed
wip
1 parent bdbd7a9 commit 8b69acd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/PinyinCallStaticTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,9 +298,9 @@ public function test_performance_dynamic_method_calls()
298298

299299
// 动态方法调用不应该比直接调用慢太多(最多3倍)
300300
$ratio = $dynamicTime / $directTime;
301-
$this->assertLessThan(3.0, $ratio,
301+
$this->assertLessThan(3.0, $ratio,
302302
"Dynamic method calls should not be significantly slower than direct calls. Ratio: {$ratio}");
303-
303+
304304
// 确保两种方法都能正常工作
305305
$this->assertEquals(['ni', 'hao'], Pinyin::noTone()->convert($testText)->toArray());
306306
$this->assertEquals('nǐ hǎo', Pinyin::sentence($testText));

0 commit comments

Comments
 (0)