canic-cli 0.35.11

Operator CLI for Canic fleet backup and restore workflows
Documentation
1
2
3
4
5
6
7
8
9
10
11
use super::*;

// Ensure empty-root command errors explain root registry setup.
#[test]
fn root_registry_hint_explains_empty_root_canister() {
    let hint = root_registry_hint("the canister contains no Wasm module")
        .expect("empty wasm hint should be available");

    assert!(hint.contains("canic install"));
    assert!(hint.contains("no Canic root code is installed"));
}