diff options
author | guillep2k <18600385+guillep2k@users.noreply.github.com> | 2019-09-02 16:12:29 -0300 |
---|---|---|
committer | techknowlogick <techknowlogick@gitea.io> | 2019-09-02 15:12:29 -0400 |
commit | 765be703233aee7e890d8ae1e95b1b08d3b03d98 (patch) | |
tree | 8cd334b2591c695a7e3d49b198b5fdadb5df92b6 /integrations | |
parent | fe1a6a2d9ae8ecb2224b00dc8adc920c7388c28c (diff) | |
download | gitea-765be703233aee7e890d8ae1e95b1b08d3b03d98.tar.gz gitea-765be703233aee7e890d8ae1e95b1b08d3b03d98.zip |
Make CI work (#8057)
* Use export GOPROXY=https://goproxy.cn before build
* Add go version to generate command
* Reproduced the entire build procedure - see notes
I've used:
sudo go clean -i -r -cache -testcache -modcache
make clean
make generate
make golangci-lint
make revive
make swagger-check
make swagger-validate
make test-vendor <--- this now fails
make vendor <--- this now produced changes
git commit -a <--- this commit
* Add fix from #8059 to complete CI tests
Diffstat (limited to 'integrations')
-rw-r--r-- | integrations/pull_create_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/integrations/pull_create_test.go b/integrations/pull_create_test.go index 8f39e8b028..84bcbff0dc 100644 --- a/integrations/pull_create_test.go +++ b/integrations/pull_create_test.go @@ -100,7 +100,7 @@ func TestPullCreate_TitleEscape(t *testing.T) { htmlDoc = NewHTMLParser(t, resp.Body) titleHTML, err := htmlDoc.doc.Find(".comments .event .text b").First().Html() assert.NoError(t, err) - assert.Equal(t, "<i>XSS PR</i>", titleHTML) + assert.Equal(t, "<strike><i>XSS PR</i></strike>", titleHTML) titleHTML, err = htmlDoc.doc.Find(".comments .event .text b").Next().Html() assert.NoError(t, err) assert.Equal(t, "<u>XSS PR</u>", titleHTML) |