INNER CODE UNIT · Rust

get_by_qualified_name

ShurikenTrade/shuriken-skills · src/lib.rs:111

    fn get_by_qualified_name() {
        assert!(get("shuriken:__fixture__").is_some());
    }

    #[test]
    fn get_unknown_returns_none() {
        assert!(get("does-not-exist").is_none());
    }

    #[test]
    fn render_index_contains_qualified_names_and_skips_fixtures() {
        let rendered = render_index();
        assert!(rendered.contains("# Shuriken skills"));
        assert!(rendered.contains("get_skill"));
        // Fixture is filtered out in production rendering:
        assert!(
            !rendered.contains("__fixture__"),
            "fixture should not appear in render_index output"

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…