We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1545e20 commit 4de8d52Copy full SHA for 4de8d52
project/rkl/tests/test_cli_commands.rs
@@ -56,7 +56,11 @@ fn get_pod_config(args: Vec<String>) -> PodTask {
56
fn test_from_file() {
57
let config = get_pod_config(vec!["echo".to_string()]);
58
let file_content = serde_yaml::to_string(&config).unwrap();
59
- let config_path = env::current_dir().unwrap().parent().unwrap().join("test/test.yaml");
+ let config_path = env::current_dir()
60
+ .unwrap()
61
+ .parent()
62
63
+ .join("test/test.yaml");
64
let mut file = File::create(&config_path).unwrap();
65
file.write_all(file_content.as_bytes()).unwrap();
66
let runner = TaskRunner::from_file(config_path.as_os_str().to_str().unwrap()).unwrap();
0 commit comments