diff --git a/nalgebra-macros/tests/tests.rs b/nalgebra-macros/tests/tests.rs index e69f9e6b..68b09610 100644 --- a/nalgebra-macros/tests/tests.rs +++ b/nalgebra-macros/tests/tests.rs @@ -132,10 +132,10 @@ fn vector_const_fn() { #[test] fn point_const_fn() { // Ensure that vector! can be used in const contexts - const _: Point = vector![]; - const _: Point1 = vector![1]; - const _: Point2 = vector![1, 2]; - const _: Point6 = vector![1, 2, 3, 4, 5, 6]; + const _: Point = point![]; + const _: Point1 = point![1]; + const _: Point2 = point![1, 2]; + const _: Point6 = point![1, 2, 3, 4, 5, 6]; } // Skip rustfmt because it just makes the test bloated without making it more readable