Skip to content

Commit

Permalink
v1.0.12
Browse files Browse the repository at this point in the history
  • Loading branch information
drrefe committed Aug 23, 2023
1 parent ab9d8cd commit b099f73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/TrTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Drrefe\Tr\Test;
namespace Drrefe\Tr\Tests;

use Drrefe\Tr\Tr;
use PHPUnit\Framework\TestCase;
Expand All @@ -11,7 +11,7 @@ class TrTest extends TestCase
public function testSuffix()
{
$rows = json_decode(file_get_contents(__DIR__ . "/test-rows.json"), true, JSON_UNESCAPED_UNICODE);

foreach ($rows as $row) {
$this->assertSame($row["expected_e"], Tr::suffix("e", $row["text"], ["locale" => $row["locale"], "apostrophe" => $row["apostrophe"], "uppercase" => $row["uppercase"]]));
$this->assertSame($row["expected_i"], Tr::suffix("i", $row["text"], ["locale" => $row["locale"], "apostrophe" => $row["apostrophe"], "uppercase" => $row["uppercase"]]));
Expand Down

0 comments on commit b099f73

Please sign in to comment.