Skip to content

Commit 81376c4

Browse files
committed
Fixed the single-exercise test.
1 parent 99c29c3 commit 81376c4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/check-exercises.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def assignment_name(test_file):
5656
def main():
5757
if len(sys.argv) == 2: # test a specific exercise
5858
exercise_path = sys.argv[1].strip('/')
59-
test_file = glob.glob('./{}/*_test.py'.format(exercise_path))[0]
59+
test_file = glob.glob('../exercises/{}/*_test.py'.format(exercise_path))[0]
6060
check_assignment(assignment_name(test_file), test_file,
6161
modname_heuristic(test_file))
6262
else:

0 commit comments

Comments
 (0)