From 1bfa056ca3bed37a2db2f4cdfa7df4ecb48d9cd2 Mon Sep 17 00:00:00 2001 From: Carlos Alexandro Becker Date: Wed, 24 May 2023 13:48:26 +0000 Subject: [PATCH] test: repo collab --- testscript/testdata/script/repo-collab.txtar | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 testscript/testdata/script/repo-collab.txtar diff --git a/testscript/testdata/script/repo-collab.txtar b/testscript/testdata/script/repo-collab.txtar new file mode 100644 index 0000000000000000000000000000000000000000..9ab73a42c6384aa1cdeb1a777012b22d7ae97248 --- /dev/null +++ b/testscript/testdata/script/repo-collab.txtar @@ -0,0 +1,18 @@ +# vi: set ft=conf +# setup +soft repo import test https://github.com/charmbracelet/catwalk.git +soft user create foo --key "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAzXnhJ/6SrlHZI+DnTb1n/0KL6/VOQTea8qLovTiZix" + +# list collabs +soft repo collab list test +! stdout . + +# add collab +soft repo collab add test foo +soft repo collab list test +stdout 'foo' + +# remove collab +soft repo collab remove test foo +soft repo collab list test +! stdout .