Skip to content

Commit 9d79feb

Browse files
committed
Autoformat go
1 parent eb6918f commit 9d79feb

File tree

8 files changed

+59
-59
lines changed

8 files changed

+59
-59
lines changed
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
package makesample_test
22

33
import (
4-
"testing"
5-
"makesample"
4+
"makesample"
5+
"testing"
66
)
77

88
// Note because this is a test we do NOT expect this to be extracted.
99
func TestTestMe(t *testing.T) {
1010

11-
publicResult := makesample.PublicFunction()
12-
if publicResult != 1 {
13-
t.Errorf("Expected 1, got %d", publicResult)
14-
}
11+
publicResult := makesample.PublicFunction()
12+
if publicResult != 1 {
13+
t.Errorf("Expected 1, got %d", publicResult)
14+
}
1515

1616
}
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
package makesample
22

33
import (
4-
"testing"
4+
"testing"
55
)
66

77
func TestTestMe(t *testing.T) {
88

9-
// Note because this is a test we do NOT expect this to be extracted.
10-
publicResult := PublicFunction()
11-
if publicResult != 1 {
12-
t.Errorf("Expected 1, got %d", publicResult)
13-
}
9+
// Note because this is a test we do NOT expect this to be extracted.
10+
publicResult := PublicFunction()
11+
if publicResult != 1 {
12+
t.Errorf("Expected 1, got %d", publicResult)
13+
}
1414

1515
}
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
package testsample_test
22

33
import (
4-
"testing"
5-
"testsample"
4+
"testing"
5+
"testsample"
66
)
77

88
func TestTestMe(t *testing.T) {
99

10-
publicResult := testsample.PublicFunction()
11-
if publicResult != 1 {
12-
t.Errorf("Expected 1, got %d", publicResult)
13-
}
10+
publicResult := testsample.PublicFunction()
11+
if publicResult != 1 {
12+
t.Errorf("Expected 1, got %d", publicResult)
13+
}
1414

1515
}
Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
package testsample
22

33
import (
4-
"testing"
4+
"testing"
55
)
66

77
func TestTestMe(t *testing.T) {
88

9-
publicResult := PublicFunction()
10-
if publicResult != 1 {
11-
t.Errorf("Expected 1, got %d", publicResult)
12-
}
9+
publicResult := PublicFunction()
10+
if publicResult != 1 {
11+
t.Errorf("Expected 1, got %d", publicResult)
12+
}
1313

14-
privateResult := privateFunction()
15-
if privateResult != 2 {
16-
t.Errorf("Expected 2, got %d", privateResult)
17-
}
14+
privateResult := privateFunction()
15+
if privateResult != 2 {
16+
t.Errorf("Expected 2, got %d", privateResult)
17+
}
1818

1919
}
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
package testsample_test
22

33
import (
4-
"testing"
5-
"testsample"
4+
"testing"
5+
"testsample"
66
)
77

88
func TestTestMe(t *testing.T) {
99

10-
publicResult := testsample.PublicFunction()
11-
if publicResult != 1 {
12-
t.Errorf("Expected 1, got %d", publicResult)
13-
}
10+
publicResult := testsample.PublicFunction()
11+
if publicResult != 1 {
12+
t.Errorf("Expected 1, got %d", publicResult)
13+
}
1414

1515
}
Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
package testsample
22

33
import (
4-
"testing"
4+
"testing"
55
)
66

77
func TestTestMe(t *testing.T) {
88

9-
publicResult := PublicFunction()
10-
if publicResult != 1 {
11-
t.Errorf("Expected 1, got %d", publicResult)
12-
}
9+
publicResult := PublicFunction()
10+
if publicResult != 1 {
11+
t.Errorf("Expected 1, got %d", publicResult)
12+
}
1313

14-
privateResult := privateFunction()
15-
if privateResult != 2 {
16-
t.Errorf("Expected 2, got %d", privateResult)
17-
}
14+
privateResult := privateFunction()
15+
if privateResult != 2 {
16+
t.Errorf("Expected 2, got %d", privateResult)
17+
}
1818

1919
}
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
package testsample_test
22

33
import (
4-
"testing"
5-
"testsample"
4+
"testing"
5+
"testsample"
66
)
77

88
func TestTestMe(t *testing.T) {
99

10-
// Note because this is a test we do NOT expect it to be extracted
11-
publicResult := testsample.PublicFunction()
12-
if publicResult != 1 {
13-
t.Errorf("Expected 1, got %d", publicResult)
14-
}
10+
// Note because this is a test we do NOT expect it to be extracted
11+
publicResult := testsample.PublicFunction()
12+
if publicResult != 1 {
13+
t.Errorf("Expected 1, got %d", publicResult)
14+
}
1515

1616
}
Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
package testsample
22

33
import (
4-
"testing"
4+
"testing"
55
)
66

77
func TestTestMe(t *testing.T) {
88

9-
// Note because this is a test we do NOT expect it to be extracted
10-
publicResult := PublicFunction()
11-
if publicResult != 1 {
12-
t.Errorf("Expected 1, got %d", publicResult)
13-
}
9+
// Note because this is a test we do NOT expect it to be extracted
10+
publicResult := PublicFunction()
11+
if publicResult != 1 {
12+
t.Errorf("Expected 1, got %d", publicResult)
13+
}
1414

15-
privateResult := privateFunction()
16-
if privateResult != 2 {
17-
t.Errorf("Expected 2, got %d", privateResult)
18-
}
15+
privateResult := privateFunction()
16+
if privateResult != 2 {
17+
t.Errorf("Expected 2, got %d", privateResult)
18+
}
1919

2020
}

0 commit comments

Comments
 (0)