diff options
author | Dan Davison <dandavison7@gmail.com> | 2020-05-31 09:57:42 -0400 |
---|---|---|
committer | Dan Davison <dandavison7@gmail.com> | 2020-05-31 09:57:42 -0400 |
commit | 64069e6798246f6bb7bd041684a853f7b8137728 (patch) | |
tree | 9ed191fc1c62773cedfb58e232d93ef4c7a3fe4c /src/tests | |
parent | 8134487582327483609dba639d83b5caf6b4aa7a (diff) |
Add failing test: assert file is styled under decoration-style=omit
Diffstat (limited to 'src/tests')
-rw-r--r-- | src/tests/test_example_diffs.rs | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/src/tests/test_example_diffs.rs b/src/tests/test_example_diffs.rs index 385d2a59..4029256e 100644 --- a/src/tests/test_example_diffs.rs +++ b/src/tests/test_example_diffs.rs @@ -401,16 +401,13 @@ index 8e37a9e..6ce4863 100644 fn _do_test_file_style_no_decoration(options: cli::Opt) { let (output, config) = integration_test_utils::run_delta(GIT_DIFF_SINGLE_HUNK, options); - if false { - // FIXME - ansi_test_utils::assert_line_has_foreground_color( - &output, - 7, - "src/align.rs", - "green", - &config, - ); - } + ansi_test_utils::assert_line_has_foreground_color( + &output, + 7, + "src/align.rs", + "green", + &config, + ); let output = strip_ansi_codes(&output); assert!(output.contains("src/align.rs")); assert!(!output.contains("src/align.rs │")); |