mirror of
https://github.com/pezkuwichain/revive-differential-tests.git
synced 2026-06-21 02:41:05 +00:00
Add support for comments in various steps
This commit is contained in:
@@ -55,6 +55,10 @@ pub struct Input {
|
|||||||
|
|
||||||
#[derive(Clone, Debug, Default, Serialize, Deserialize, Eq, PartialEq)]
|
#[derive(Clone, Debug, Default, Serialize, Deserialize, Eq, PartialEq)]
|
||||||
pub struct BalanceAssertion {
|
pub struct BalanceAssertion {
|
||||||
|
/// An optional comment on the balance assertion.
|
||||||
|
#[serde(skip_serializing_if = "Option::is_none")]
|
||||||
|
pub comment: Option<String>,
|
||||||
|
|
||||||
/// The address that the balance assertion should be done on.
|
/// The address that the balance assertion should be done on.
|
||||||
///
|
///
|
||||||
/// This is a string which will be resolved into an address when being processed. Therefore,
|
/// This is a string which will be resolved into an address when being processed. Therefore,
|
||||||
@@ -69,6 +73,10 @@ pub struct BalanceAssertion {
|
|||||||
|
|
||||||
#[derive(Clone, Debug, Default, Serialize, Deserialize, Eq, PartialEq)]
|
#[derive(Clone, Debug, Default, Serialize, Deserialize, Eq, PartialEq)]
|
||||||
pub struct StorageEmptyAssertion {
|
pub struct StorageEmptyAssertion {
|
||||||
|
/// An optional comment on the storage empty assertion.
|
||||||
|
#[serde(skip_serializing_if = "Option::is_none")]
|
||||||
|
pub comment: Option<String>,
|
||||||
|
|
||||||
/// The address that the balance assertion should be done on.
|
/// The address that the balance assertion should be done on.
|
||||||
///
|
///
|
||||||
/// This is a string which will be resolved into an address when being processed. Therefore,
|
/// This is a string which will be resolved into an address when being processed. Therefore,
|
||||||
|
|||||||
Reference in New Issue
Block a user