mirror of
https://github.com/pezkuwichain/revive-differential-tests.git
synced 2026-06-15 11:21:03 +00:00
Add default arguments for tests
This commit is contained in:
@@ -510,7 +510,7 @@ pub struct ExportGenesisContext {
|
|||||||
|
|
||||||
impl Default for TestExecutionContext {
|
impl Default for TestExecutionContext {
|
||||||
fn default() -> Self {
|
fn default() -> Self {
|
||||||
Self::parse_from(["execution-context"])
|
Self::parse_from(["execution-context", "--test", "some_path"])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -612,7 +612,7 @@ impl AsRef<IgnoreSuccessConfiguration> for TestExecutionContext {
|
|||||||
|
|
||||||
impl Default for BenchmarkingContext {
|
impl Default for BenchmarkingContext {
|
||||||
fn default() -> Self {
|
fn default() -> Self {
|
||||||
Self::parse_from(["benchmarking-context"])
|
Self::parse_from(["benchmarking-context", "--test", "some_path"])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user