From e39da2aaa68099ab004184d9b2e6f31cffd0be3d Mon Sep 17 00:00:00 2001 From: Dan Davison Date: Sat, 6 Jun 2020 21:43:45 -0400 Subject: Use 'syntax_theme' instead of 'theme' everywhere --- src/tests/test_example_diffs.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 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 6f7dca2..024fc93 100644 --- a/src/tests/test_example_diffs.rs +++ b/src/tests/test_example_diffs.rs @@ -59,7 +59,7 @@ mod tests { } #[test] - fn test_unrecognized_file_type_with_theme() { + fn test_unrecognized_file_type_with_syntax_theme() { // In addition to the background color, the code has the foreground color using the default // .txt syntax under the theme. let options = integration_test_utils::get_command_line_options(); @@ -70,11 +70,11 @@ mod tests { } #[test] - fn test_unrecognized_file_type_no_theme() { + fn test_unrecognized_file_type_no_syntax_theme() { // The code has the background color only. (Since there is no theme, the code has no // foreground ansi color codes.) let mut options = integration_test_utils::get_command_line_options(); - options.theme = Some("none".to_string()); + options.syntax_theme = Some("none".to_string()); options.width = Some("variable".to_string()); let input = ADDED_FILE_INPUT.replace("a.py", "a"); let (output, config) = -- cgit v1.2.3