summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/keybase/go-keybase-chat-bot/kbchat/test_utils.go
diff options
context:
space:
mode:
authorWim <wim@42.be>2020-02-08 16:50:16 +0100
committerWim <wim@42.be>2020-02-08 18:33:05 +0100
commitff8cf067b8328f8a49f0a2dfd69a6ae5569cda15 (patch)
tree60047b220e9a75402e0ac53b61d3cafc4ee403fc /vendor/github.com/keybase/go-keybase-chat-bot/kbchat/test_utils.go
parent1420f6805070ed70f4bb60b8abafb96541ff6536 (diff)
downloadmatterbridge-msglm-ff8cf067b8328f8a49f0a2dfd69a6ae5569cda15.tar.gz
matterbridge-msglm-ff8cf067b8328f8a49f0a2dfd69a6ae5569cda15.tar.bz2
matterbridge-msglm-ff8cf067b8328f8a49f0a2dfd69a6ae5569cda15.zip
Update kekeybase/go-keybase-chat-bot vendor
Diffstat (limited to 'vendor/github.com/keybase/go-keybase-chat-bot/kbchat/test_utils.go')
-rw-r--r--vendor/github.com/keybase/go-keybase-chat-bot/kbchat/test_utils.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/vendor/github.com/keybase/go-keybase-chat-bot/kbchat/test_utils.go b/vendor/github.com/keybase/go-keybase-chat-bot/kbchat/test_utils.go
index 1a163951..5d079a1c 100644
--- a/vendor/github.com/keybase/go-keybase-chat-bot/kbchat/test_utils.go
+++ b/vendor/github.com/keybase/go-keybase-chat-bot/kbchat/test_utils.go
@@ -41,9 +41,7 @@ func copyFile(t *testing.T, source, dest string) {
// Creates the working directory and copies over the keybase binary in PATH.
// We do this to avoid any version mismatch issues.
-func prepWorkingDir(t *testing.T, workingDir string) string {
- kbLocation := whichKeybase(t)
-
+func prepWorkingDir(t *testing.T, workingDir string, kbLocation string) string {
err := os.Mkdir(workingDir, 0777)
require.NoError(t, err)
kbDestination := path.Join(workingDir, "keybase")