File tree Expand file tree Collapse file tree 2 files changed +46
-0
lines changed Expand file tree Collapse file tree 2 files changed +46
-0
lines changed Original file line number Diff line number Diff line change
1
+ package generating
2
+
3
+ import (
4
+ "testing"
5
+ )
6
+
7
+ func TestGenerateBulkPayload (t * testing.T ) {
8
+ tests := []struct {
9
+ name string
10
+ }{
11
+ {
12
+ name : "Test case 1" ,
13
+ },
14
+ }
15
+ for _ , tt := range tests {
16
+ t .Run (tt .name , func (t * testing.T ) {
17
+ got , got1 := GenerateBulkPayload ()
18
+ if len (got ) <= 0 {
19
+ t .Errorf ("GenerateBulkPayload() got = %v" , got )
20
+ }
21
+ if got1 <= 0 {
22
+ t .Errorf ("GenerateBulkPayload() got1 = %v" , got1 )
23
+ }
24
+ })
25
+ }
26
+ }
Original file line number Diff line number Diff line change
1
+ package har
2
+
3
+ import "testing"
4
+
5
+ func TestNewMessageID (t * testing.T ) {
6
+ tests := []struct {
7
+ name string
8
+ }{
9
+ {
10
+ name : "Test case 1" ,
11
+ }
12
+ }
13
+ for _ , tt := range tests {
14
+ t .Run (tt .name , func (t * testing.T ) {
15
+ if got := NewMessageID (); got != nil {
16
+ t .Errorf ("NewMessageID() = %v, got)
17
+ }
18
+ })
19
+ }
20
+ }
You can’t perform that action at this time.
0 commit comments