Skip to content

Commit 2138240

Browse files
committed
Issue exercism#154: made bin/journey-test.sh iterate over exercises instead of problems.
1 parent 7bb120f commit 2138240

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎bin/journey-test.sh‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,8 +192,8 @@ solve_all_exercises() {
192192

193193
local xjava=$( pwd )
194194
local exercism_cli="./exercism --config ${exercism_configfile}"
195-
local exercises=`cat config.json | jq '.problems []' --raw-output`
196-
local total_exercises=`cat config.json | jq '.problems | length'`
195+
local exercises=`cat config.json | jq '.exercises[].slug' --raw-output`
196+
local total_exercises=`cat config.json | jq '.exercises | length'`
197197
local current_exercise_number=1
198198
local tempfile="${TMPDIR:-/tmp}/journey-test.sh-unignore_all_tests.txt"
199199

0 commit comments

Comments
 (0)