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

17 lines
460 B
PHP

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