diff options
| author | Dan Davison <dandavison7@gmail.com> | 2022-01-16 11:24:42 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-16 11:24:42 -0500 |
| commit | 9106a51ac385f26d5eccdfd68af933508668ae28 (patch) | |
| tree | b95cfe784050319736224755bdc08f066fb79f3f /src/tests/test_example_diffs.rs | |
| parent | f498544dfd0ffe7d1a3edbfef65a5067ad50091d (diff) | |
Drop deprecated options (#914)
Drop deprecated options
Fixes #891
Diffstat (limited to 'src/tests/test_example_diffs.rs')
| -rw-r--r-- | src/tests/test_example_diffs.rs | 40 |
1 files changed, 0 insertions, 40 deletions
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); |
