summaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
authorDan Davison <dandavison7@gmail.com>2020-05-30 14:24:51 -0400
committerDan Davison <dandavison7@gmail.com>2020-05-30 16:55:38 -0400
commit436e83d67638d8e2d48912099d58a25fceefa7c7 (patch)
tree297ee95f59192bf48fcc1b6033a6098af7633d76 /src/tests
parent8115bb6e87215b556d283dca02a39cb40506f12f (diff)
Fix test names
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/test_example_diffs.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tests/test_example_diffs.rs b/src/tests/test_example_diffs.rs
index f25440c1..ca3f14ad 100644
--- a/src/tests/test_example_diffs.rs
+++ b/src/tests/test_example_diffs.rs
@@ -415,7 +415,7 @@ src/align.rs
}
#[test]
- fn test_hunk_style_raw_no_decoration() {
+ fn test_hunk_header_style_raw_no_decoration() {
let mut options = integration_test_utils::get_command_line_options();
options.hunk_header_style = "raw".to_string();
options.hunk_header_decoration_style = "omit".to_string();
@@ -430,7 +430,7 @@ src/align.rs
}
#[test]
- fn test_hunk_style_box() {
+ fn test_hunk_header_style_box() {
let mut options = integration_test_utils::get_command_line_options();
options.hunk_header_decoration_style = "white box".to_string();
let (output, config) = integration_test_utils::run_delta(GIT_DIFF_SINGLE_HUNK, options);
@@ -480,7 +480,7 @@ src/align.rs
}
#[test]
- fn test_hunk_style_underline() {
+ fn test_hunk_header_style_underline() {
let mut options = integration_test_utils::get_command_line_options();
options.hunk_header_decoration_style = "black underline".to_string();
let (output, config) = integration_test_utils::run_delta(GIT_DIFF_SINGLE_HUNK, options);
@@ -500,7 +500,7 @@ src/align.rs
}
#[test]
- fn test_hunk_style_box_with_syntax_highlighting() {
+ fn test_hunk_header_style_box_with_syntax_highlighting() {
let mut options = integration_test_utils::get_command_line_options();
options.hunk_header_style = "syntax".to_string();
// For this test we are currently forced to disable styling of the decoration, since