Skip to content

Commit

Permalink
Fix test_new_from_file_crafted_zero_lamport_account
Browse files Browse the repository at this point in the history
  • Loading branch information
xiangzhu70 committed Dec 14, 2022
1 parent e049452 commit 150ca0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/src/append_vec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1147,7 +1147,7 @@ pub mod tests {
}

let result = AppendVec::new_from_file(path, accounts_len);
assert_matches!(result, Err(ref message) if message.to_string() == *"incorrect layout/length/data");
assert_matches!(result, Err(ref message) if message.to_string().starts_with("incorrect layout/length/data"));
}

#[test]
Expand Down

0 comments on commit 150ca0a

Please sign in to comment.