Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 4de8d52

Browse filesBrowse files
committed
fix fmt
Signed-off-by: acfboy <acfboyu@outlook.com>
1 parent 1545e20 commit 4de8d52
Copy full SHA for 4de8d52

File tree

1 file changed

+5
-1
lines changed
Filter options

1 file changed

+5
-1
lines changed

‎project/rkl/tests/test_cli_commands.rs

Copy file name to clipboardExpand all lines: project/rkl/tests/test_cli_commands.rs
+5-1Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,11 @@ fn get_pod_config(args: Vec<String>) -> PodTask {
5656
fn test_from_file() {
5757
let config = get_pod_config(vec!["echo".to_string()]);
5858
let file_content = serde_yaml::to_string(&config).unwrap();
59-
let config_path = env::current_dir().unwrap().parent().unwrap().join("test/test.yaml");
59+
let config_path = env::current_dir()
60+
.unwrap()
61+
.parent()
62+
.unwrap()
63+
.join("test/test.yaml");
6064
let mut file = File::create(&config_path).unwrap();
6165
file.write_all(file_content.as_bytes()).unwrap();
6266
let runner = TaskRunner::from_file(config_path.as_os_str().to_str().unwrap()).unwrap();

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.