MCPcopy Create free account
hub / github.com/CovenantSQL/CovenantSQL / TestHash_MarshalYAML

Function TestHash_MarshalYAML

crypto/hash/hash_test.go:300–305  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

298}
299
300func TestHash_MarshalYAML(t *testing.T) {
301 Convey("marshal unmarshal yaml", t, func() {
302 So(unmarshalAndMarshalYAML("029e54e333da9ff38acb0f1afd8b425d57ba301539bc7b26a94f1ab663605efb"), ShouldEqual, "029e54e333da9ff38acb0f1afd8b425d57ba301539bc7b26a94f1ab663605efb")
303 So(unmarshalAndMarshalYAML("02c76216704d797c64c58bc11519fb68582e8e63de7e5b3b2dbbbe8733efe5fd"), ShouldEqual, "02c76216704d797c64c58bc11519fb68582e8e63de7e5b3b2dbbbe8733efe5fd")
304 })
305}
306
307func TestHash_MarshalJSON(t *testing.T) {
308 Convey("marshal unmarshal yaml", t, func() {

Callers

nothing calls this directly

Calls 1

unmarshalAndMarshalYAMLFunction · 0.85

Tested by

no test coverage detected