From 1edee9f134a058962397c1cf501f608cf2576684 Mon Sep 17 00:00:00 2001 From: jmjoy Date: Sun, 25 Sep 2022 08:16:24 +0800 Subject: [PATCH] Rename constant to constants. --- tests/integration/src/{constant.rs => constants.rs} | 0 tests/integration/src/lib.rs | 4 ++-- tests/integration/tests/integration.rs | 4 ++-- tests/integration/tests/php/{constant.php => constants.php} | 0 4 files changed, 4 insertions(+), 4 deletions(-) rename tests/integration/src/{constant.rs => constants.rs} (100%) rename tests/integration/tests/php/{constant.php => constants.php} (100%) diff --git a/tests/integration/src/constant.rs b/tests/integration/src/constants.rs similarity index 100% rename from tests/integration/src/constant.rs rename to tests/integration/src/constants.rs diff --git a/tests/integration/src/lib.rs b/tests/integration/src/lib.rs index 45611595..4c4a307b 100644 --- a/tests/integration/src/lib.rs +++ b/tests/integration/src/lib.rs @@ -13,7 +13,7 @@ mod arguments; mod arrays; mod classes; -mod constant; +mod constants; mod functions; mod objects; mod strings; @@ -36,7 +36,7 @@ pub fn get_module() -> Module { objects::integrate(&mut module); strings::integrate(&mut module); values::integrate(&mut module); - constant::integrate(&mut module); + constants::integrate(&mut module); module } diff --git a/tests/integration/tests/integration.rs b/tests/integration/tests/integration.rs index 2572d3ec..251af4ce 100644 --- a/tests/integration/tests/integration.rs +++ b/tests/integration/tests/integration.rs @@ -29,7 +29,7 @@ fn test_cli() { &tests_php_dir.join("objects.php"), &tests_php_dir.join("strings.php"), &tests_php_dir.join("values.php"), - &tests_php_dir.join("constant.php"), + &tests_php_dir.join("constants.php"), ], ); } @@ -49,5 +49,5 @@ fn test_fpm() { test_fpm_request("GET", &tests_php_dir, "/objects.php", None, None); test_fpm_request("GET", &tests_php_dir, "/strings.php", None, None); test_fpm_request("GET", &tests_php_dir, "/values.php", None, None); - test_fpm_request("GET", &tests_php_dir, "/constant.php", None, None); + test_fpm_request("GET", &tests_php_dir, "/constants.php", None, None); } diff --git a/tests/integration/tests/php/constant.php b/tests/integration/tests/php/constants.php similarity index 100% rename from tests/integration/tests/php/constant.php rename to tests/integration/tests/php/constants.php