Update de.rs

This commit is contained in:
Kat Marchán 2026-05-19 10:51:42 -07:00
parent 6f5f7943b4
commit 68af7756e9
No known key found for this signature in database
GPG Key ID: AEB529C08A3C7E9E
1 changed files with 4 additions and 4 deletions

View File

@ -1357,7 +1357,7 @@ h 8
server: Server, server: Server,
} }
let kdl = r#"server host="localhost" port=8080"#; let kdl = "server host=localhost port=8080";
let config: Config = from_str(kdl).unwrap(); let config: Config = from_str(kdl).unwrap();
assert_eq!( assert_eq!(
config, config,
@ -1387,7 +1387,7 @@ h 8
server: Server, server: Server,
} }
let kdl = r#"server "localhost" port=8080 "remote""#; let kdl = "server localhost port=8080 remote";
let config: Config = from_str(kdl).unwrap(); let config: Config = from_str(kdl).unwrap();
assert_eq!( assert_eq!(
config, config,
@ -1416,7 +1416,7 @@ h 8
command: Command, command: Command,
} }
let kdl = r#"command name="run" "--verbose" "--output" "result.txt""#; let kdl = "command name=run --verbose --output result.txt";
let config: Config = from_str(kdl).unwrap(); let config: Config = from_str(kdl).unwrap();
assert_eq!( assert_eq!(
config, config,
@ -1444,7 +1444,7 @@ h 8
server: Server, server: Server,
} }
let kdl = r#"server host="localhost" 8080 8081 8082"#; let kdl = "server host=localhost 8080 8081 8082";
let config: Config = from_str(kdl).unwrap(); let config: Config = from_str(kdl).unwrap();
assert_eq!( assert_eq!(
config, config,