mirror of
https://github.com/asdf-vm/asdf.git
synced 2024-11-15 09:38:16 -07:00
Test shims executable
This commit is contained in:
parent
2826f66849
commit
92ad386f78
@ -50,3 +50,11 @@ teardown() {
|
|||||||
run grep "# asdf-plugin: dummy" $ASDF_DIR/shims/dummy
|
run grep "# asdf-plugin: dummy" $ASDF_DIR/shims/dummy
|
||||||
[ "$status" -eq 0 ]
|
[ "$status" -eq 0 ]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@test "install_command running a shim should call the plugin executable" {
|
||||||
|
run install_command dummy 1.0
|
||||||
|
[ "$status" -eq 0 ]
|
||||||
|
# run the shim which should be on path and expect the plugin's output
|
||||||
|
[ "dummy" $(dummy) ]
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user