taler-rust

GNU Taler code in Rust. Largely core banking integrations.
Log | Files | Refs | Submodules | README | LICENSE

commit 7bf1b433bddec555748a8fd516704dbee1d5318b
parent a01f014deb50c62c0d4de2538f023171e578d4c2
Author: Antoine A <>
Date:   Wed, 12 Feb 2025 16:16:02 +0100

common: fix config inline path

Diffstat:
Mcommon/taler-common/src/config.rs | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/common/taler-common/src/config.rs b/common/taler-common/src/config.rs @@ -210,6 +210,7 @@ pub mod parser { num, )); }; + let arg = arg.trim_ascii_start(); // Exit current section current_section = None; // Check current file has a parent @@ -857,7 +858,7 @@ mod test { config_file .set_permissions(Permissions::from_mode(0o666)) .unwrap(); - std::fs::write(&config_path, "@inline@test-second-conf.conf").unwrap(); + std::fs::write(&config_path, "@inline@ test-second-conf.conf").unwrap(); check(format!( "Could not read config at '{second_path_fmt}': entity not found" )); @@ -884,7 +885,7 @@ mod test { check(format!( "Recursion limit in config inlining at '{config_path_fmt}:2'" )); - std::fs::write(&config_path, "\n\n@inline-matching@*.conf").unwrap(); + std::fs::write(&config_path, "\n\n@inline-matching@ *.conf").unwrap(); check(format!( "Recursion limit in config inlining at '{config_path_fmt}:3'" ));