summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLi Zhineng <[email protected]>2025-05-14 13:29:34 +0800
committerLi Zhineng <[email protected]>2025-05-14 13:29:34 +0800
commita5fa39f0e8c9b9522e6c59c869857a1dff455da4 (patch)
tree168a95c6a204b55c89587452589c898f3b553cc9 /tests
parent665c8bc91124aff065b37e7767acf35e538198f9 (diff)
downloadvehicle-license-china-a5fa39f0e8c9b9522e6c59c869857a1dff455da4.tar.gz
vehicle-license-china-a5fa39f0e8c9b9522e6c59c869857a1dff455da4.zip
improve test cases
Diffstat (limited to 'tests')
-rw-r--r--tests/RegistrationNumberTest.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/RegistrationNumberTest.php b/tests/RegistrationNumberTest.php
index 7829027..a6cbbd8 100644
--- a/tests/RegistrationNumberTest.php
+++ b/tests/RegistrationNumberTest.php
@@ -190,6 +190,8 @@ final class RegistrationNumberTest extends TestCase
{
$this->assertTrue(RegistrationNumber::make('粤ED12345')->isCleanEnergy());
$this->assertFalse(RegistrationNumber::make('粤ED1234')->isCleanEnergy());
+ $this->assertFalse(RegistrationNumber::make('粤Z1234港')->isCleanEnergy());
+ $this->assertFalse(RegistrationNumber::make('224578使')->isCleanEnergy());
}
public function test_is_battery_electric_determines_if_small_vehicle_is_a_fully_electric_vehicle(): void