Skip to content

Commit

Permalink
Merge branch 'master' into pr/183
Browse files Browse the repository at this point in the history
  • Loading branch information
shawntabrizi committed Nov 1, 2024
2 parents 0938622 + 4cdd230 commit a506928
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions steps/14/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,5 +127,7 @@ fn count_for_kitties_created_correctly() {
CountForKitties::<TestRuntime>::set(Some(1337u32));
// You can `put` the value directly with a `u32`.
CountForKitties::<TestRuntime>::put(1337u32);
// Check that the value is now in storage.
assert_eq!(CountForKitties::<TestRuntime>::get(), Some(1337u32));
})
}
2 changes: 2 additions & 0 deletions steps/15/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ fn count_for_kitties_created_correctly() {
CountForKitties::<TestRuntime>::set(Some(1337u32));
// You can `put` the value directly with a `u32`.
CountForKitties::<TestRuntime>::put(1337u32);
// Check that the value is now in storage.
assert_eq!(CountForKitties::<TestRuntime>::get(), Some(1337u32));
})
}

Expand Down
2 changes: 2 additions & 0 deletions steps/16/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ fn count_for_kitties_created_correctly() {
CountForKitties::<TestRuntime>::set(Some(1337u32));
// You can `put` the value directly with a `u32`.
CountForKitties::<TestRuntime>::put(1337u32);
// Check that the value is now in storage.
assert_eq!(CountForKitties::<TestRuntime>::get(), Some(1337u32));
})
}

Expand Down
2 changes: 2 additions & 0 deletions steps/17/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ fn count_for_kitties_created_correctly() {
CountForKitties::<TestRuntime>::set(Some(1337u32));
// You can `put` the value directly with a `u32`.
CountForKitties::<TestRuntime>::put(1337u32);
// Check that the value is now in storage.
assert_eq!(CountForKitties::<TestRuntime>::get(), Some(1337u32));
})
}

Expand Down
2 changes: 2 additions & 0 deletions steps/18/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ fn count_for_kitties_created_correctly() {
CountForKitties::<TestRuntime>::set(Some(1337u32));
// You can `put` the value directly with a `u32`.
CountForKitties::<TestRuntime>::put(1337u32);
// Check that the value is now in storage.
assert_eq!(CountForKitties::<TestRuntime>::get(), Some(1337u32));
})
}

Expand Down

0 comments on commit a506928

Please sign in to comment.