Skip to content

Commit d795cdd

Browse files
authored
Rename constant to constants. (#54)
1 parent 80e35a8 commit d795cdd

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

tests/integration/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
mod arguments;
1414
mod arrays;
1515
mod classes;
16-
mod constant;
16+
mod constants;
1717
mod functions;
1818
mod objects;
1919
mod strings;
@@ -36,7 +36,7 @@ pub fn get_module() -> Module {
3636
objects::integrate(&mut module);
3737
strings::integrate(&mut module);
3838
values::integrate(&mut module);
39-
constant::integrate(&mut module);
39+
constants::integrate(&mut module);
4040

4141
module
4242
}

tests/integration/tests/integration.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ fn test_cli() {
2929
&tests_php_dir.join("objects.php"),
3030
&tests_php_dir.join("strings.php"),
3131
&tests_php_dir.join("values.php"),
32-
&tests_php_dir.join("constant.php"),
32+
&tests_php_dir.join("constants.php"),
3333
],
3434
);
3535
}
@@ -49,5 +49,5 @@ fn test_fpm() {
4949
test_fpm_request("GET", &tests_php_dir, "/objects.php", None, None);
5050
test_fpm_request("GET", &tests_php_dir, "/strings.php", None, None);
5151
test_fpm_request("GET", &tests_php_dir, "/values.php", None, None);
52-
test_fpm_request("GET", &tests_php_dir, "/constant.php", None, None);
52+
test_fpm_request("GET", &tests_php_dir, "/constants.php", None, None);
5353
}

0 commit comments

Comments
 (0)