add workflows
Some checks failed
test / test (push) Failing after 11m9s

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2024-12-12 09:41:37 +03:00
parent f8cffe1081
commit def343f521
20 changed files with 176 additions and 337 deletions

View File

@@ -1,7 +1,6 @@
package codec
import (
"fmt"
"testing"
jsoncodec "go.unistack.org/micro-codec-json/v3"
@@ -20,5 +19,7 @@ func TestFrame(t *testing.T) {
if err := c.Unmarshal(data, dst); err != nil {
t.Fatal(err)
}
fmt.Printf("xxx %s\n", dst.Frame)
if string(dst.Frame.Data) != `{"first":"second"}` {
t.Fatalf("frame %s", dst.Frame.Data)
}
}