Skip to content

Commit 2876d3c

Browse files
committed
test: fix email testing
1 parent f435eba commit 2876d3c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

email_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,16 @@ func TestEmail_Render(t *testing.T) {
2626
fields: fields{
2727
elements: []Element{
2828
Table{
29-
Dataset: []interface{}{
30-
TestStruct1{
29+
Dataset: []TestStruct1{
30+
{
3131
A: "a1",
3232
B: 1,
3333
},
34-
TestStruct1{
34+
{
3535
A: "a2",
3636
B: 2,
3737
},
38-
TestStruct1{
38+
{
3939
A: "a3",
4040
B: 3,
4141
},

0 commit comments

Comments
 (0)