fixed failing builin test

This commit is contained in:
debris 2016-03-18 20:17:25 +01:00
parent 839cecd2da
commit e4ec80941c
1 changed files with 1 additions and 1 deletions

View File

@ -274,7 +274,7 @@ fn from_named_linear() {
#[test]
fn from_json() {
let text = "{ \"name\": \"identity\", \"linear\": {\"base\": 10, \"word\": 20} }";
let text = "{ \"name\": \"identity\", \"pricing\": {\"base\": 10, \"word\": 20} }";
let json = Json::from_str(text).unwrap();
let b = Builtin::from_json(&json).unwrap();
assert_eq!((*b.cost)(0), U256::from(10));