Skip to content

Commit

Permalink
refactor state tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ToniRamirezM committed Dec 14, 2023
1 parent e190870 commit 176fdda
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions state/helper_test.go → state/test/helper_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package state_test
package test

import (
"encoding/hex"
Expand Down Expand Up @@ -201,7 +201,7 @@ func TestMaliciousTransaction(t *testing.T) {
0xd2, 0x05, 0xf0, 0xa3, 0x6f, 0xdc, 0x6e, 0x4e, 0x4c, 0x5a, 0x7b, 0x88,
0xd4, 0x5b, 0x1b}

_, _, _, err = state.DecodeTxs(b, state.FORKID_BLUEBERRY)
_, _, _, err := state.DecodeTxs(b, state.FORKID_BLUEBERRY)
require.Error(t, err)
require.Equal(t, err, state.ErrInvalidData)
}
Expand Down

0 comments on commit 176fdda

Please sign in to comment.