mirror of
https://github.com/pezkuwichain/revive-differential-tests.git
synced 2026-04-26 02:47:59 +00:00
First pass integrated new mode bits
This commit is contained in:
@@ -57,7 +57,7 @@ pub struct Metadata {
|
||||
|
||||
impl Metadata {
|
||||
/// Returns the modes that we should test from this metadata.
|
||||
pub fn test_modes(&self) -> Vec<Mode> {
|
||||
pub fn solc_modes(&self) -> Vec<Mode> {
|
||||
match &self.modes {
|
||||
Some(modes) => Mode::from_parsed_modes(modes.iter()).collect(),
|
||||
None => Mode::all().collect()
|
||||
|
||||
Reference in New Issue
Block a user