Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
shargon committed Nov 16, 2019
1 parent 7c2a696 commit 93ea75a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public void ParseFromJson_Contacts()
var json = @"{""groups"":[],""features"":{""storage"":false,""payable"":false},""abi"":{""hash"":""0x0000000000000000000000000000000000000000"",""entryPoint"":{""name"":""Main"",""parameters"":[{""name"":""operation"",""type"":""String""},{""name"":""args"",""type"":""Array""}],""returnType"":""Any""},""methods"":[],""events"":[]},""permissions"":[{""contract"":""*"",""methods"":""*""}],""trusts"":[],""safeMethods"":[],""contact"":{""author"":""author"",""email"":""email""}}";
var manifest = ContractManifest.Parse(json);
var manifestString = manifest.ToString();

Assert.AreEqual(manifestString, json);
Assert.AreEqual("author", manifest.Contact.Author);
Assert.AreEqual("email", manifest.Contact.Email);
Expand Down

0 comments on commit 93ea75a

Please sign in to comment.