Skip to content

Commit

Permalink
linter
Browse files Browse the repository at this point in the history
  • Loading branch information
ianthpun committed May 28, 2024
1 parent b257b68 commit d8bfaad
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions encoding/json/encoding_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2800,7 +2800,7 @@ func TestEncodeCapability(t *testing.T) {

func TestDecodeCapability(t *testing.T) {

t.Run("with backwards compability", func(t *testing.T) {
t.Run("with backwards compatibility", func(t *testing.T) {
t.Parallel()

testDecode(
Expand All @@ -2827,7 +2827,7 @@ func TestDecodeCapability(t *testing.T) {
)
})

t.Run("with backwards compability on a deprecated Path Capabliity", func(t *testing.T) {
t.Run("with backwards compatibility on a deprecated Path Capabliity", func(t *testing.T) {
t.Parallel()

testDecode(
Expand All @@ -2851,7 +2851,7 @@ func TestDecodeCapability(t *testing.T) {
}
}
`,
cadence.NewDeprecatedPathCapability(
cadence.NewDeprecatedPathCapability( //nolint:staticcheck
cadence.BytesToAddress([]byte{1, 2, 3, 4, 5}),
cadence.Path{
Domain: common.PathDomainPublic,
Expand All @@ -2863,7 +2863,7 @@ func TestDecodeCapability(t *testing.T) {
)
})

t.Run("deprecated Path Capabliity without backwards compatability", func(t *testing.T) {
t.Run("deprecated Path Capability without backwards compatibility", func(t *testing.T) {
t.Parallel()

_, err := Decode(nil, []byte(
Expand Down

0 comments on commit d8bfaad

Please sign in to comment.