From e743ba78b0c6bf0d708b6fb7825cab86cbecde4e Mon Sep 17 00:00:00 2001 From: Ilya Grigoriev Date: Wed, 16 Aug 2023 17:19:24 -0700 Subject: [PATCH] fake_diff_editor: Allow specifying extra arguments to be ignored --- cli/testing/fake-diff-editor.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cli/testing/fake-diff-editor.rs b/cli/testing/fake-diff-editor.rs index e4a98d2f8..c76e17f56 100644 --- a/cli/testing/fake-diff-editor.rs +++ b/cli/testing/fake-diff-editor.rs @@ -28,6 +28,10 @@ struct Args { /// Path to the "after" directory after: PathBuf, + + /// Ignored argument + #[arg(long)] + _ignore: Vec, } fn files_recursively(dir: &Path) -> HashSet {