de888b92e945b0c5746acd4f2400c49bd55f1a16

Author
Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
Committer
Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
Date

Message

test: fix golden files

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

Diff

  1diff --git a/testscript/testdata/mirror.txtar b/testscript/testdata/mirror.txtar
  2index 76feb782eb6259e319eed66a9206615bad6a40da..5df60625217e07f084deae858dc39e23c4b3db9e 100644
  3--- a/testscript/testdata/mirror.txtar
  4+++ b/testscript/testdata/mirror.txtar
  5@@ -9,6 +9,8 @@ exec soft serve &
  6 ensureserverrunning SSH_PORT
  7 
  8 # import a repo
  9+# TODO: this repo changes all the time, which will also break the tests.
 10+# Should probably use something else.
 11 soft repo import --mirror charmbracelet/catwalk https://github.com/charmbracelet/catwalk.git
 12 
 13 # check empty description file
 14@@ -77,7 +79,7 @@ cmp stdout info2.txt
 15 
 16 # get a file
 17 soft repo blob charmbracelet/test LICENSE
 18-stdout '.*Creative Commons.*'
 19+stdout '.*MIT.*'
 20 
 21 # stop the server
 22 [windows] stopserver
 23@@ -95,6 +97,30 @@ Owner: admin
 24 Default Branch: main
 25 Branches:
 26   - main
 27+  - openrouter-update
 28+Tags:
 29+  - v0.4.12
 30+  - v0.4.11
 31+  - v0.4.10
 32+  - v0.4.9
 33+  - v0.4.8
 34+  - v0.4.7
 35+  - v0.4.6
 36+  - v0.4.5
 37+  - v0.4.4
 38+  - v0.4.3
 39+  - v0.4.2
 40+  - v0.4.1
 41+  - v0.4.0
 42+  - v0.3.6
 43+  - v0.3.5
 44+  - v0.3.4
 45+  - v0.3.3
 46+  - v0.3.2
 47+  - v0.3.1
 48+  - v0.3.0
 49+  - v0.2.0
 50+  - v0.1.0
 51 -- info2.txt --
 52 Project Name: catwalk
 53 Repository: charmbracelet/test
 54@@ -106,8 +132,42 @@ Owner: admin
 55 Default Branch: main
 56 Branches:
 57   - main
 58+  - openrouter-update
 59+Tags:
 60+  - v0.4.12
 61+  - v0.4.11
 62+  - v0.4.10
 63+  - v0.4.9
 64+  - v0.4.8
 65+  - v0.4.7
 66+  - v0.4.6
 67+  - v0.4.5
 68+  - v0.4.4
 69+  - v0.4.3
 70+  - v0.4.2
 71+  - v0.4.1
 72+  - v0.4.0
 73+  - v0.3.6
 74+  - v0.3.5
 75+  - v0.3.4
 76+  - v0.3.3
 77+  - v0.3.2
 78+  - v0.3.1
 79+  - v0.3.0
 80+  - v0.2.0
 81+  - v0.1.0
 82 -- tree.txt --
 83-drwxrwxrwx	-	 30k
 84-drwxrwxrwx	-	 50k
 85--rw-r--r--	19 kB	 LICENSE
 86--rw-r--r--	1.1 kB	 README.md
 87+drwxrwxrwx	-	 .github
 88+drwxrwxrwx	-	 cmd
 89+drwxrwxrwx	-	 internal
 90+drwxrwxrwx	-	 pkg
 91+-rw-r--r--	577 B	 .gitignore
 92+-rw-r--r--	695 B	 .golangci.yml
 93+-rw-r--r--	3.3 kB	 .goreleaser.yaml
 94+-rw-r--r--	1.1 kB	 CRUSH.md
 95+-rw-r--r--	1.1 kB	 LICENSE
 96+-rw-r--r--	1.0 kB	 README.md
 97+-rw-r--r--	528 B	 go.mod
 98+-rw-r--r--	3.0 kB	 go.sum
 99+-rw-r--r--	79 B	 goreleaser.dockerfile
100+-rw-r--r--	1.7 kB	 main.go
101diff --git a/testscript/testdata/repo-import.txtar b/testscript/testdata/repo-import.txtar
102index e9bfa31e4cf5a7bd0fedc927f79f1b41060a4230..9c6c9639e636349d0d746071ed0e53b38229bf7b 100644
103--- a/testscript/testdata/repo-import.txtar
104+++ b/testscript/testdata/repo-import.txtar
105@@ -38,3 +38,27 @@ Owner: admin
106 Default Branch: main
107 Branches:
108   - main
109+  - openrouter-update
110+Tags:
111+  - v0.4.12
112+  - v0.4.11
113+  - v0.4.10
114+  - v0.4.9
115+  - v0.4.8
116+  - v0.4.7
117+  - v0.4.6
118+  - v0.4.5
119+  - v0.4.4
120+  - v0.4.3
121+  - v0.4.2
122+  - v0.4.1
123+  - v0.4.0
124+  - v0.3.6
125+  - v0.3.5
126+  - v0.3.4
127+  - v0.3.3
128+  - v0.3.2
129+  - v0.3.1
130+  - v0.3.0
131+  - v0.2.0
132+  - v0.1.0