| 864 | 864 | | mod tests { |
| 865 | 865 | | use serde_json::{Map, Value, json}; |
| 866 | 866 | | |
| 867 | | − | use super::step_debug; |
| 867 | + | use super::*; |
| 868 | 868 | | |
| 869 | 869 | | #[test] |
| 870 | 870 | | fn debug_logging_comes_from_a_secret_a_variable_or_a_debug_rerun() { |
| ⋯ |
| 879 | 879 | | assert!(step_debug(&contexts(json!({})), &json!({ "ACTIONS_STEP_DEBUG": "true" }))); |
| 880 | 880 | | assert!(!step_debug(&contexts(json!({})), &json!({ "RUNNER_DEBUG": "0" }))); |
| 881 | 881 | | } |
| 882 | | − | } |
| 883 | | − | |
| 884 | | − | #[cfg(test)] |
| 885 | | − | mod tests { |
| 886 | | − | use super::*; |
| 887 | 882 | | |
| 888 | 883 | | #[test] |
| 889 | 884 | | fn a_steps_timeout_is_its_own_or_the_nearer_one_around_it() { |