#!/usr/bin/env bash

assert "mise use dummy@1.0.0"
assert "mise which dummy" "$MISE_DATA_DIR/installs/dummy/1.0.0/bin/dummy"
assert "mise which --plugin dummy" "dummy"
assert "mise which --version dummy" "1.0.0"
assert "mise which dummy --tool dummy@1.0.0" "$MISE_DATA_DIR/installs/dummy/1.0.0/bin/dummy"
