summaryrefslogtreecommitdiffstats
path: root/src/options
diff options
context:
space:
mode:
authorDan Davison <dandavison7@gmail.com>2020-06-29 18:10:59 -0400
committerDan Davison <dandavison7@gmail.com>2020-06-30 08:00:30 -0400
commit3d2d5b4be755f0bea7ebd92759d930191514297f (patch)
treef3829fe7d5d645f542fd209b5e8a4d3eaca17fcc /src/options
parentf5c7053fdbedebb512151346a7eefd2b7d3565c9 (diff)
Trivial changes
Diffstat (limited to 'src/options')
-rw-r--r--src/options/rewrite.rs10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/options/rewrite.rs b/src/options/rewrite.rs
index 076298f7..c1f349d7 100644
--- a/src/options/rewrite.rs
+++ b/src/options/rewrite.rs
@@ -195,16 +195,6 @@ mod tests {
use crate::cli;
use crate::options::rewrite::apply_rewrite_rules;
- #[test]
- fn test_default_is_stable_under_rewrites() {
- let mut opt = cli::Opt::from_iter(Vec::<OsString>::new());
- let before = opt.clone();
-
- apply_rewrite_rules(&mut opt, &clap::ArgMatches::new());
-
- assert_eq!(opt, before);
- }
-
/// Since --hunk-header-decoration-style is at its default value of "box",
/// the deprecated option is allowed to overwrite it.
#[test]