This repository has been archived on 2024-11-14. You can view files and clone it, but cannot push or open issues or pull requests.
syokuhou-config/tests/SyokuhouTest.php

18 lines
460 B
PHP
Raw Normal View History

2023-10-20 21:21:17 +00:00
<?php
// SyokuhouTest.php
// Created: 2023-10-20
// Updated: 2023-10-20
declare(strict_types=1);
use PHPUnit\Framework\TestCase;
2024-08-04 01:07:23 +00:00
use PHPUnit\Framework\Attributes\CoversClass;
2023-10-20 21:21:17 +00:00
2024-08-04 01:07:23 +00:00
#[CoversClass(Syokuhou\Syokuhou::class)]
2023-10-20 21:21:17 +00:00
final class SyokuhouTest extends TestCase {
public function testVersionDecode(): void {
$expected = trim(file_get_contents(__DIR__ . '/../VERSION'));
2024-08-04 01:07:23 +00:00
$this->assertEquals($expected, \Syokuhou\Syokuhou::version());
2023-10-20 21:21:17 +00:00
}
}