Skip to content

Commit 03c1045

Browse files
committed
Fix test
1 parent 9a6ab2d commit 03c1045

File tree

1 file changed

+0
-71
lines changed

1 file changed

+0
-71
lines changed

modules/git/blame_test.go

Lines changed: 0 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -11,77 +11,6 @@ import (
1111
"github.com/stretchr/testify/assert"
1212
)
1313

14-
const exampleBlame = `
15-
4b92a6c2df28054ad766bc262f308db9f6066596 1 1 1
16-
author Unknown
17-
author-mail <[email protected]>
18-
author-time 1392833071
19-
author-tz -0500
20-
committer Unknown
21-
committer-mail <[email protected]>
22-
committer-time 1392833071
23-
committer-tz -0500
24-
summary Add code of delete user
25-
previous be0ba9ea88aff8a658d0495d36accf944b74888d gogs.go
26-
filename gogs.go
27-
// Copyright 2014 The Gogs Authors. All rights reserved.
28-
ce21ed6c3490cdfad797319cbb1145e2330a8fef 2 2 1
29-
author Joubert RedRat
30-
author-mail <[email protected]>
31-
author-time 1482322397
32-
author-tz -0200
33-
committer Lunny Xiao
34-
committer-mail <[email protected]>
35-
committer-time 1482322397
36-
committer-tz +0800
37-
summary Remove remaining Gogs reference on locales and cmd (#430)
38-
previous 618407c018cdf668ceedde7454c42fb22ba422d8 main.go
39-
filename main.go
40-
// Copyright 2016 The Gitea Authors. All rights reserved.
41-
4b92a6c2df28054ad766bc262f308db9f6066596 2 3 2
42-
author Unknown
43-
author-mail <[email protected]>
44-
author-time 1392833071
45-
author-tz -0500
46-
committer Unknown
47-
committer-mail <[email protected]>
48-
committer-time 1392833071
49-
committer-tz -0500
50-
summary Add code of delete user
51-
previous be0ba9ea88aff8a658d0495d36accf944b74888d gogs.go
52-
filename gogs.go
53-
// Use of this source code is governed by a MIT-style
54-
4b92a6c2df28054ad766bc262f308db9f6066596 3 4
55-
author Unknown
56-
author-mail <[email protected]>
57-
author-time 1392833071
58-
author-tz -0500
59-
committer Unknown
60-
committer-mail <[email protected]>
61-
committer-time 1392833071
62-
committer-tz -0500
63-
summary Add code of delete user
64-
previous be0ba9ea88aff8a658d0495d36accf944b74888d gogs.go
65-
filename gogs.go
66-
// license that can be found in the LICENSE file.
67-
68-
e2aa991e10ffd924a828ec149951f2f20eecead2 6 6 2
69-
author Lunny Xiao
70-
author-mail <[email protected]>
71-
author-time 1478872595
72-
author-tz +0800
73-
committer Sandro Santilli
74-
committer-mail <[email protected]>
75-
committer-time 1478872595
76-
committer-tz +0100
77-
summary ask for go get from code.gitea.io/gitea and change gogs to gitea on main file (#146)
78-
previous 5fc370e332171b8658caed771b48585576f11737 main.go
79-
filename main.go
80-
// Gitea (git with a cup of tea) is a painless self-hosted Git Service.
81-
e2aa991e10ffd924a828ec149951f2f20eecead2 7 7
82-
package main // import "code.gitea.io/gitea"
83-
`
84-
8514
func TestReadingBlameOutput(t *testing.T) {
8615
ctx, cancel := context.WithCancel(context.Background())
8716
defer cancel()

0 commit comments

Comments
 (0)