Skip to content

Commit ce0d3ab

Browse files
committed
Fix tests in Windows CI
1 parent fb7f9ae commit ce0d3ab

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

crates/plugins/java/src/ant_plugin.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -446,6 +446,8 @@ mod test {
446446
let plugin = AntPlugin::new().unwrap();
447447
let cp = plugin.get_project_class_path(&test_path).unwrap();
448448

449+
// get_project_class_path, do the same here to avoid mismatches in windows CI
450+
let test_path = file_util::canonicalize(&test_path).unwrap();
449451
let sep = std::path::MAIN_SEPARATOR;
450452
let expected_junit = format!("{0}{1}lib{1}junit-4.10.jar", test_path.display(), sep);
451453
assert!(

crates/tmc-langs-cli/src/app.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ use tmc_langs::{
1111
RunResult, StyleValidationResult, Submission, SubmissionFeedbackResponse, SubmissionFinished,
1212
UpdateResult, UpdatedExercise,
1313
};
14-
// use tmc_langs_util::task_executor::RefreshData;
1514

1615
#[derive(Parser)]
1716
#[clap(

0 commit comments

Comments
 (0)