moonup 0.4.3

Manage multiple MoonBit installations
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use std::process::Command;

use insta_cmd::{assert_cmd_snapshot, get_cargo_bin};

const BIN: &str = "moonup-shim";

fn cli() -> Command {
    Command::new(get_cargo_bin(BIN))
}

#[test]
fn test_run_moonup_shim_directly() {
    assert_cmd_snapshot!(cli());
}