Skip to content

Commit

Permalink
add inherited field test
Browse files Browse the repository at this point in the history
  • Loading branch information
rohenaz committed Sep 25, 2020
1 parent a6c401b commit cb818fd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions bmap_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,15 @@ func TestFromBob(t *testing.T) {
bmapData := New()
bmapData.FromBob(bobData)

if bmapData.Tx.H != "ce7429a101b7aecdf1e5449151d0be17a3948cb5c22282832ae942107edb2272" {
t.Errorf("Inherited field failed %+v", bmapData)
}

mapData := *bmapData.MAP
if mapData["app"] != "2paymail" {
t.Errorf("Test fromBob failed %+v", mapData)
}

}

func TestMap(t *testing.T) {
Expand Down

0 comments on commit cb818fd

Please sign in to comment.