Skip to content

Commit e09e0bf

Browse files
committed
fix file path in test case
1 parent 4215747 commit e09e0bf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/testq1.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Automatically detect question number from script name (testqX.sh)
44
num=$(basename "$0" | grep -o -E '[0-9]+')
5-
SRC="../src/q${num}.c"
5+
SRC="./src/q${num}.c"
66

77
# 1. Remove all comments (single-line // and block /* ... */)
88
code_no_comments=$(sed -E '

tests/testq2.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Automatically detect question number from script name (testqX.sh)
44
num=$(basename "$0" | grep -o -E '[0-9]+')
5-
SRC="../src/q${num}.c"
5+
SRC="./src/q${num}.c"
66

77
# 1. Remove all comments (single-line // and block /* ... */)
88
code_no_comments=$(sed -E '

0 commit comments

Comments
 (0)