Skip to content

Commit 78f9fb2

Browse files
author
Ciro S. Costa
committed
Simplifies code in tests
1 parent 1bad58b commit 78f9fb2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cast/cast_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ var _ = Describe("Cast", func() {
291291
Height: 10,
292292
},
293293
EventStream: []*cast.Event{
294-
&cast.Event{
294+
{
295295
Time: 1,
296296
Type: "o",
297297
Data: "foo",

editor/speed_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ var _ = Describe("Speed", func() {
1515
BeforeEach(func() {
1616
data = &cast.Cast{
1717
EventStream: []*cast.Event{
18-
&cast.Event{},
18+
{},
1919
},
2020
}
2121
})

0 commit comments

Comments
 (0)