20 lines
547 B
Rust
20 lines
547 B
Rust
use super::*;
|
|
|
|
#[test]
|
|
fn settings_borrow_without_allocations_and_propagate_through_flow_loop_and_handler() {
|
|
for profile in [Profile::Dev, Profile::Release] {
|
|
let binary = build(
|
|
"settings",
|
|
include_str!("settings.dever"),
|
|
Some(include_str!("settings.rs.txt")),
|
|
profile,
|
|
);
|
|
let output = Command::new(binary).output().unwrap();
|
|
assert!(
|
|
output.status.success(),
|
|
"{}",
|
|
String::from_utf8_lossy(&output.stderr)
|
|
);
|
|
}
|
|
}
|