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 938ea66 commit 6db49ecCopy full SHA for 6db49ec
rust/functora-cfg/tests/integration.rs
@@ -165,11 +165,11 @@ fn file_override() {
165
balance = 101
166
tags = ["retro", "story"]
167
"#;
168
- file.write(text.as_bytes()).unwrap();
+ file.write_all(text.as_bytes()).unwrap();
169
let lhs = Cfg::new(Cli::parse_from([
170
"functora",
171
"--toml",
172
- &file.path().to_string_lossy().into_owned(),
+ &file.path().to_string_lossy(),
173
]));
174
let rhs = Cfg {
175
host: "192.168.1.100".into(),
@@ -317,7 +317,7 @@ fn layered_override() {
317
318
319
320
321
"--host",
322
"10.10.10.10",
323
"--logs",
0 commit comments