From 9106a51ac385f26d5eccdfd68af933508668ae28 Mon Sep 17 00:00:00 2001 From: Dan Davison Date: Sun, 16 Jan 2022 11:24:42 -0500 Subject: Drop deprecated options (#914) Drop deprecated options Fixes #891 --- src/tests/test_example_diffs.rs | 40 ---------------------------------------- 1 file changed, 40 deletions(-) (limited to 'src/tests/test_example_diffs.rs') diff --git a/src/tests/test_example_diffs.rs b/src/tests/test_example_diffs.rs index 3ef649b..0db3097 100644 --- a/src/tests/test_example_diffs.rs +++ b/src/tests/test_example_diffs.rs @@ -387,11 +387,6 @@ commit 94907c0f136f46dc46ffae2dc92dca9af7eb7c2e ]); } - #[test] - fn test_commit_style_box_ul_deprecated_options() { - _do_test_commit_style_box_ul(&["--commit-color", "blue", "--commit-style", "box"]); - } - fn _do_test_commit_style_box(args: &[&str]) { let config = integration_test_utils::make_config_from_args(args); let output = integration_test_utils::run_delta(GIT_DIFF_SINGLE_HUNK, &config); @@ -527,16 +522,6 @@ commit 94907c0f136f46dc46ffae2dc92dca9af7eb7c2e │ ]); } - #[test] - fn test_commit_style_underline_deprecated_options() { - _do_test_commit_style_underline(&[ - "--commit-color", - "yellow", - "--commit-style", - "underline", - ]); - } - fn _do_test_commit_style_underline(args: &[&str]) { let config = integration_test_utils::make_config_from_args(args); let output = integration_test_utils::run_delta(GIT_DIFF_SINGLE_HUNK, &config); @@ -704,11 +689,6 @@ src/align.rs ]); } - #[test] - fn test_file_style_box_ul_deprecated_options() { - _do_test_file_style_box_ul(&["--file-color", "green", "--file-style", "box"]); - } - fn _do_test_file_style_box(args: &[&str]) { let config = integration_test_utils::make_config_from_args(args); let output = integration_test_utils::run_delta(GIT_DIFF_SINGLE_HUNK, &config); @@ -784,11 +764,6 @@ src/align.rs │ ]); } - #[test] - fn test_file_style_underline_deprecated_options() { - _do_test_file_style_underline(&["--file-color", "magenta", "--file-style", "underline"]); - } - fn _do_test_file_style_underline(args: &[&str]) { let config = integration_test_utils::make_config_from_args(args); let output = integration_test_utils::run_delta(GIT_DIFF_SINGLE_HUNK, &config); @@ -1207,11 +1182,6 @@ impl<'a> Alignment<'a> { ]); } - #[test] - fn test_hunk_header_style_box_deprecated_options() { - _do_test_hunk_header_style_box(&["--hunk-color", "white", "--hunk-style", "box"]); - } - fn _do_test_hunk_header_style_box(args: &[&str]) { let config = integration_test_utils::make_config_from_args(args); let output = integration_test_utils::run_delta(GIT_DIFF_SINGLE_HUNK, &config); @@ -1324,16 +1294,6 @@ src/align.rs:71: impl<'a> Alignment<'a> { │ ]); } - #[test] - fn test_hunk_header_style_underline_deprecated_options() { - _do_test_hunk_header_style_underline(&[ - "--hunk-color", - "black", - "--hunk-style", - "underline", - ]); - } - fn _do_test_hunk_header_style_underline(args: &[&str]) { let config = integration_test_utils::make_config_from_args(args); let output = integration_test_utils::run_delta(GIT_DIFF_SINGLE_HUNK, &config); -- cgit v1.2.3