diff --git a/tests/RouterTest.php b/tests/RouterTest.php
index f18eaba..5f5abcd 100644
--- a/tests/RouterTest.php
+++ b/tests/RouterTest.php
@@ -233,7 +233,7 @@ class RouterTest extends TestCase
$this->router->map('/わたしはひとです/@name', function ($name) {
echo $name;
});
- $this->request->url = '/'.urlencode('わたしはひとです').'/'.urlencode('ええ');
+ $this->request->url = '/' . urlencode('わたしはひとです') . '/' . urlencode('ええ');
$this->check('ええ');
}
@@ -244,7 +244,7 @@ class RouterTest extends TestCase
$this->router->map('/категория/@name:[абвгдеёжзийклмнопрстуфхцчшщъыьэюя]+', function ($name) {
echo $name;
});
- $this->request->url = '/'.urlencode('категория').'/'.urlencode('цветя');
+ $this->request->url = '/' . urlencode('категория') . '/' . urlencode('цветя');
$this->check('цветя');
}
diff --git a/tests/server/index.php b/tests/server/index.php
index d88ac85..f00144f 100644
--- a/tests/server/index.php
+++ b/tests/server/index.php
@@ -132,12 +132,12 @@ Flight::group('', function () {
// Test 16: UTF8 Chars in url with utf8 params
Flight::route('/わたしはひとです/@name', function ($name) {
- echo 'Route text: This route status is that it '.($name === 'ええ' ? 'succeeded' : 'failed').' URL Param: '.$name.'';
+ echo 'Route text: This route status is that it ' . ($name === 'ええ' ? 'succeeded' : 'failed') . ' URL Param: ' . $name . '';
});
// Test 17: Slash in param
Flight::route('/redirect/@id', function ($id) {
- echo 'Route text: This route status is that it '.($id === 'before/after' ? 'succeeded' : 'failed').' URL Param: '.$id.'';
+ echo 'Route text: This route status is that it ' . ($id === 'before/after' ? 'succeeded' : 'failed') . ' URL Param: ' . $id . '';
});
}, [ new LayoutMiddleware() ]);