test: fix golden files

Carlos Alexandro Becker created

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

Change summary

testscript/testdata/mirror.txtar      | 70 ++++++++++++++++++++++++++--
testscript/testdata/repo-import.txtar | 24 +++++++++
2 files changed, 89 insertions(+), 5 deletions(-)

Detailed changes

testscript/testdata/mirror.txtar 🔗

@@ -9,6 +9,8 @@ exec soft serve &
 ensureserverrunning SSH_PORT
 
 # import a repo
+# TODO: this repo changes all the time, which will also break the tests.
+# Should probably use something else.
 soft repo import --mirror charmbracelet/catwalk https://github.com/charmbracelet/catwalk.git
 
 # check empty description file
@@ -77,7 +79,7 @@ cmp stdout info2.txt
 
 # get a file
 soft repo blob charmbracelet/test LICENSE
-stdout '.*Creative Commons.*'
+stdout '.*MIT.*'
 
 # stop the server
 [windows] stopserver
@@ -95,6 +97,30 @@ Owner: admin
 Default Branch: main
 Branches:
   - main
+  - openrouter-update
+Tags:
+  - v0.4.12
+  - v0.4.11
+  - v0.4.10
+  - v0.4.9
+  - v0.4.8
+  - v0.4.7
+  - v0.4.6
+  - v0.4.5
+  - v0.4.4
+  - v0.4.3
+  - v0.4.2
+  - v0.4.1
+  - v0.4.0
+  - v0.3.6
+  - v0.3.5
+  - v0.3.4
+  - v0.3.3
+  - v0.3.2
+  - v0.3.1
+  - v0.3.0
+  - v0.2.0
+  - v0.1.0
 -- info2.txt --
 Project Name: catwalk
 Repository: charmbracelet/test
@@ -106,8 +132,42 @@ Owner: admin
 Default Branch: main
 Branches:
   - main
+  - openrouter-update
+Tags:
+  - v0.4.12
+  - v0.4.11
+  - v0.4.10
+  - v0.4.9
+  - v0.4.8
+  - v0.4.7
+  - v0.4.6
+  - v0.4.5
+  - v0.4.4
+  - v0.4.3
+  - v0.4.2
+  - v0.4.1
+  - v0.4.0
+  - v0.3.6
+  - v0.3.5
+  - v0.3.4
+  - v0.3.3
+  - v0.3.2
+  - v0.3.1
+  - v0.3.0
+  - v0.2.0
+  - v0.1.0
 -- tree.txt --
-drwxrwxrwx	-	 30k
-drwxrwxrwx	-	 50k
--rw-r--r--	19 kB	 LICENSE
--rw-r--r--	1.1 kB	 README.md
+drwxrwxrwx	-	 .github
+drwxrwxrwx	-	 cmd
+drwxrwxrwx	-	 internal
+drwxrwxrwx	-	 pkg
+-rw-r--r--	577 B	 .gitignore
+-rw-r--r--	695 B	 .golangci.yml
+-rw-r--r--	3.3 kB	 .goreleaser.yaml
+-rw-r--r--	1.1 kB	 CRUSH.md
+-rw-r--r--	1.1 kB	 LICENSE
+-rw-r--r--	1.0 kB	 README.md
+-rw-r--r--	528 B	 go.mod
+-rw-r--r--	3.0 kB	 go.sum
+-rw-r--r--	79 B	 goreleaser.dockerfile
+-rw-r--r--	1.7 kB	 main.go

testscript/testdata/repo-import.txtar 🔗

@@ -38,3 +38,27 @@ Owner: admin
 Default Branch: main
 Branches:
   - main
+  - openrouter-update
+Tags:
+  - v0.4.12
+  - v0.4.11
+  - v0.4.10
+  - v0.4.9
+  - v0.4.8
+  - v0.4.7
+  - v0.4.6
+  - v0.4.5
+  - v0.4.4
+  - v0.4.3
+  - v0.4.2
+  - v0.4.1
+  - v0.4.0
+  - v0.3.6
+  - v0.3.5
+  - v0.3.4
+  - v0.3.3
+  - v0.3.2
+  - v0.3.1
+  - v0.3.0
+  - v0.2.0
+  - v0.1.0