(t *testing.T)
| 182 | } |
| 183 | |
| 184 | func Test_bytesToHexString(t *testing.T) { |
| 185 | type args struct { |
| 186 | val []byte |
| 187 | } |
| 188 | tests := []struct { |
| 189 | name string |
| 190 | args args |
| 191 | want string |
| 192 | }{ |
| 193 | { |
| 194 | name: "Test bytes", |
| 195 | args: args{ |
| 196 | val: []byte("bytes"), |
| 197 | }, |
| 198 | want: "0x6279746573", |
| 199 | }, |
| 200 | } |
| 201 | for _, tt := range tests { |
| 202 | t.Run(tt.name, func(t *testing.T) { |
| 203 | if got := bytesToHexString(tt.args.val); got != tt.want { |
| 204 | t.Errorf("bytesToHexString() = %v, want %v", got, tt.want) |
| 205 | } |
| 206 | }) |
| 207 | } |
| 208 | } |
| 209 | |
| 210 | func Test_verifySuccess(t *testing.T) { |
| 211 | type args struct { |
nothing calls this directly
no test coverage detected
searching dependent graphs…