Skip to content

Commit

Permalink
Fix: test
Browse files Browse the repository at this point in the history
  • Loading branch information
Salvionied committed Nov 7, 2023
1 parent a0a0f8e commit d665863
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions plutusencoder/plutusencoder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package plutusencoder_test

import (
"encoding/hex"
"fmt"
"testing"

"github.com/Salvionied/apollo/plutusencoder"
Expand Down Expand Up @@ -39,8 +38,7 @@ func TestPlutusMarshal(t *testing.T) {
t.Error(err)
}
encoded, err := cbor.Marshal(marshaled)
fmt.Println(hex.EncodeToString(encoded))
if hex.EncodeToString(encoded) != "d87a9f44010203041a000f4240d87b8344010203041a000f42404401020304ff" {
if hex.EncodeToString(encoded) != "d87a9f44010203044b48656c6c6f20576f726c641a000f4240d87b8344010203041a000f42404401020304ff" {
t.Error("encoding error")
}
}

0 comments on commit d665863

Please sign in to comment.