Skip to content

Commit 8c04dbc

Browse files
committed
fix bug
1 parent 1616a14 commit 8c04dbc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tmc-langs/src/submission_packaging.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ pub fn prepare_submission(
127127
}
128128
let test_path = tests_dir.join("src/test");
129129
if test_path.exists() {
130-
file_util::copy(test_path, dest.join("test"))?;
130+
file_util::copy(test_path, dest.join("src"))?;
131131
}
132132

133133
// copy files from config
@@ -180,7 +180,7 @@ pub fn prepare_submission(
180180
}
181181
let test_path = clone_path.join("test");
182182
if test_path.exists() {
183-
file_util::copy(test_path, &dest.join("test"))?;
183+
file_util::copy(test_path, &dest)?;
184184
}
185185

186186
// copy files directly in tests to dest

0 commit comments

Comments
 (0)