There was an error while loading. Please reload this page.
1 parent 5255f0e commit a4fed4eCopy full SHA for a4fed4e
1 file changed
test/plugin_commands.bats
@@ -0,0 +1,22 @@
1
+#!/usr/bin/env bats
2
+
3
+load test_helpers
4
5
+. $(dirname $BATS_TEST_DIRNAME)/lib/commands/plugin-add.sh
6
+. $(dirname $BATS_TEST_DIRNAME)/lib/commands/plugin-list.sh
7
8
+setup() {
9
+ setup_asdf_dir
10
+}
11
12
+teardown() {
13
+ clean_asdf_dir
14
15
16
+@test "plugin_add command with no URL specified adds a plugin using repo" {
17
+ run plugin_add_command "elixir"
18
+ [ "$status" -eq 0 ]
19
20
+ run plugin_list_command
21
+ [ "$output" = "elixir" ]
22
0 commit comments