diff --git a/src/tools/nanorange/views/transform/test/transform.test.cpp b/src/tools/nanorange/views/transform/test/transform.test.cpp index b7f756e..2472103 100644 --- a/src/tools/nanorange/views/transform/test/transform.test.cpp +++ b/src/tools/nanorange/views/transform/test/transform.test.cpp @@ -30,7 +30,7 @@ SCENARIO( "std::ranges::views::transform" ) { WHEN( "when the container and the transformation are used" ) { - auto chunk = nano::views::transform( values, transform ); + auto chunk = values | nano::views::transform( transform ); THEN( "an TransformView can be constructed and members can be tested" ) { @@ -65,7 +65,7 @@ SCENARIO( "std::ranges::views::transform" ) { WHEN( "when the container and the transformation are used" ) { - auto chunk = nano::views::transform( values, transform ); + auto chunk = values | nano::views::transform( transform ); THEN( "an TransformView can be constructed and members can be tested" ) { @@ -95,7 +95,7 @@ SCENARIO( "std::ranges::views::transform" ) { WHEN( "when the container and the transformation are used" ) { - auto chunk = nano::views::transform( values, transform ); + auto chunk = values | nano::views::transform( transform ); THEN( "an TransformView can be constructed and members can be tested" ) {