0.3.15-pre.012-fix.003
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// file: crates/ksp-app-raw-transaction-ingest-desk/tests/desktop_contract.rs
|
||||
// version: 12
|
||||
// version: 13
|
||||
|
||||
//! Desktop scaffold contract canaries for Raw Transaction Ingest Desk.
|
||||
|
||||
@@ -313,21 +313,15 @@ fn pre_012_window_shutdown_and_start_stop_races_are_bounded_backend_owned() {
|
||||
fn pre_012_fix_002_terminal_fault_logging_keeps_safe_route_identity_and_worker_cause_counters() {
|
||||
let runtime = read_text(app_root().join("src/route_runtime.rs").as_path());
|
||||
let start = runtime.find("pub(crate) async fn monitor(self)");
|
||||
let start = match start {
|
||||
std::option::Option::Some(value) => value,
|
||||
std::option::Option::None => {
|
||||
assert!(false, "missing RouteRuntimeLaunch::monitor");
|
||||
return;
|
||||
},
|
||||
assert!(start.is_some(), "missing RouteRuntimeLaunch::monitor");
|
||||
let std::option::Option::Some(start) = start else {
|
||||
return;
|
||||
};
|
||||
let remainder = &runtime[start..];
|
||||
let end = remainder.find("/// Starts one exact route Worker");
|
||||
let end = match end {
|
||||
std::option::Option::Some(value) => value,
|
||||
std::option::Option::None => {
|
||||
assert!(false, "missing route runtime monitor end marker");
|
||||
return;
|
||||
},
|
||||
assert!(end.is_some(), "missing route runtime monitor end marker");
|
||||
let std::option::Option::Some(end) = end else {
|
||||
return;
|
||||
};
|
||||
let monitor = &remainder[..end];
|
||||
for required in [
|
||||
|
||||
Reference in New Issue
Block a user