Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Companion for #5463 (#953)
Browse files Browse the repository at this point in the history
* Fix test with genesis block 0

* Update Cargo.lock
  • Loading branch information
shawntabrizi authored Mar 31, 2020
1 parent 9f9e92f commit 098292a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/common/src/crowdfund.rs
Original file line number Diff line number Diff line change
Expand Up @@ -787,7 +787,7 @@ mod tests {
#[test]
fn basic_setup_works() {
new_test_ext().execute_with(|| {
assert_eq!(System::block_number(), 1);
assert_eq!(System::block_number(), 0);
assert_eq!(Crowdfund::fund_count(), 0);
assert_eq!(Crowdfund::funds(0), None);
let empty: Vec<FundIndex> = Vec::new();
Expand Down

0 comments on commit 098292a

Please sign in to comment.