Skip to content

Commit

Permalink
fix: renaming test case, fixing expected val
Browse files Browse the repository at this point in the history
  • Loading branch information
distractedm1nd committed Jun 16, 2023
1 parent beb10d5 commit 30dda2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/celestia/rpc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ func Test_parseNamespaceID(t *testing.T) {
}
testCases := []testCase{
{
name: "8 byte hex encoded namespace ID gets right padded",
param: "0x0c204d39600fddd3",
name: "8 byte hex encoded namespace ID gets left padded",
want: namespace.ID{
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0, 0x0, 0xc, 0x20, 0x4d, 0x39, 0x60, 0xf, 0xdd, 0xd3, 0x0, 0x0,
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xc, 0x20, 0x4d, 0x39, 0x60, 0xf, 0xdd, 0xd3,
},
wantErr: false,
},
Expand Down

0 comments on commit 30dda2c

Please sign in to comment.