Skip to content

Commit

Runner: one tests module after merging step debug and step timeouts

syntaqxcommitted Parent85e7e40Browse files
1 file+1−60/1 viewed
+1−6
864864 mod tests {
865865 use serde_json::{Map, Value, json};
866866
867− use super::step_debug;
867+ use super::*;
868868
869869 #[test]
870870 fn debug_logging_comes_from_a_secret_a_variable_or_a_debug_rerun() {
879879 assert!(step_debug(&contexts(json!({})), &json!({ "ACTIONS_STEP_DEBUG": "true" })));
880880 assert!(!step_debug(&contexts(json!({})), &json!({ "RUNNER_DEBUG": "0" })));
881881 }
882−}
883−
884−#[cfg(test)]
885−mod tests {
886− use super::*;
887882
888883 #[test]
889884 fn a_steps_timeout_is_its_own_or_the_nearer_one_around_it() {