mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-23 23:18:10 +08:00
274149dd14
* Switch to keybase go-crypto (for some elliptic curve key) + test
* Use assert.NoError
and add a little more context to failing test description
* Use assert.(No)Error everywhere 🌈
and assert.Error in place of .Nil/.NotNil
8 lines
247 B
Bash
8 lines
247 B
Bash
#!/bin/sh
|
|
|
|
patch < sig-v3.patch
|
|
patch < s2k-gnu-dummy.patch
|
|
find . -type f -name '*.go' -exec sed -i'' -e 's/golang.org\/x\/crypto\/openpgp/github.com\/keybase\/go-crypto\/openpgp/' {} \;
|
|
find . -type f -name '*.go-e' -exec rm {} \;
|
|
go test ./...
|