From c296421463f4128452d2e8bf9bb00cf43584cd5e Mon Sep 17 00:00:00 2001 From: Benjamin DeMann Date: Tue, 27 Aug 2024 16:17:01 -0600 Subject: [PATCH] test --- scripts/test.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/test.sh b/scripts/test.sh index be20c80f95..742055d169 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -90,9 +90,9 @@ all_directories+=$(discover_directories "$TESTS_DIR") EXAMPLE_DIRECTORIES=$(cat << END [ - {path: "HERE/hello_world", name: "bitcoin_psbt", type: "ex"}, - {path: "HERE/hello_world2", name: "express", type: "e2e", "syntax": "http"}, - {path: "HERE/hello_world3", name: "int", type: "prop", "syntax": "crpc", "api": "class"} + "HERE/hello_world", + "HERE/hello_world2", + "HERE/hello_world3" ] END ) @@ -106,7 +106,7 @@ while read -r dir; do json_result+=$(generate_json_new "$dir") json_result+="," fi -done <<< "$(echo "$all_directories" | sort)" # Feed sorted directories into the loop +done <<< "$(echo "$EXAMPLE_DIRECTORIES" | sort)" # Feed sorted directories into the loop # Remove the last comma and close the JSON array json_result=$(echo "$json_result" | sed '$ s/,$//')