From 03efe5c7c045bb453c3bf2aa7c1e418fcf3b5a94 Mon Sep 17 00:00:00 2001 From: Venelin Date: Tue, 21 Jan 2025 15:35:48 +0200 Subject: [PATCH] test improvement --- test/functions_test.cppipe | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/test/functions_test.cppipe b/test/functions_test.cppipe index 88ffe93..30bfa71 100755 --- a/test/functions_test.cppipe +++ b/test/functions_test.cppipe @@ -75,8 +75,6 @@ int main(int argc, char* argv[]) run({ "echo", "OK 12/13" }); - exec({ "echo", "OK 13/13" }); - - // todo - // exec( echo + $(echo + "OK 11/13") ); + // The temporaty string is desroyed after the statement + exec( echo + $(echo + "OK 13/13").c_str() ); }