opencrabs 0.5.13

The autonomous, self-improving AI agent. Single Rust binary. Every channel. Recommended: the 40MB prebuilt binary for macOS, Linux and Windows: https://github.com/opencrabs/opencrabs/releases
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! A saved pack theme is found at boot, because the pack is built before the
//! saved name is looked up (#2164).

#[test]
fn boot_builds_the_theme_pack_before_looking_up_the_saved_theme() {
    let src = include_str!("../tui/runner.rs");
    let pack = src
        .find("theme_pack::themes();")
        .expect("boot builds the pack");
    let lookup = src
        .find("render::presets::by_name(n)")
        .expect("boot looks up the saved theme");
    assert!(
        pack < lookup,
        "the pack must be built before the saved theme is looked up"
    );
}