summaryrefslogtreecommitdiff
path: root/src/tests/test_example_diffs.rs
diff options
context:
space:
mode:
authorDan Davison <dandavison7@gmail.com>2020-06-06 21:43:45 -0400
committerDan Davison <dandavison7@gmail.com>2020-06-06 21:43:45 -0400
commite39da2aaa68099ab004184d9b2e6f31cffd0be3d (patch)
tree41db5341b137381cf16b67c704b918393aff0729 /src/tests/test_example_diffs.rs
parentc887a9960466654b9fde56661d924ccc600c0af5 (diff)
Use 'syntax_theme' instead of 'theme' everywhere
Diffstat (limited to 'src/tests/test_example_diffs.rs')
-rw-r--r--src/tests/test_example_diffs.rs6
1 files changed, 3 insertions, 3 deletions
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) =