Skip to content

Commit c6c7dac

Browse files
committed
no tests found to failed, improve message
1 parent 650689a commit c6c7dac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tmc-langs-framework/src/plugin.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@ pub trait LanguagePlugin {
8282
status: RunStatus::TestsFailed,
8383
test_results: vec![TestResult {
8484
name: "Tests found test".to_string(),
85-
successful: true,
85+
successful: false,
8686
points: vec![],
87-
message: "No tests found.\nTry submitting the exercise to the server."
87+
message: "No tests found. Did you terminate your program with an exit() command?\nYou can also try submitting the exercise to the server."
8888
.to_string(),
8989
exception: vec![],
9090
}],

0 commit comments

Comments
 (0)