about summary refs log tree commit diff
diff options
context:
space:
mode:
authorOliver Scherer <github35764891676564198441@oli-obk.de>2019-03-13 10:19:33 +0100
committerOliver Scherer <github35764891676564198441@oli-obk.de>2019-04-02 16:14:59 +0200
commit0421c6049b4dab7337eb3567abf981b2f0adc526 (patch)
tree3676b844d26885c4fda0d435629af9d4eb63271c
parent3be13c404475ba740cc54da02b9631a10a282b7a (diff)
downloadrust-0421c6049b4dab7337eb3567abf981b2f0adc526.tar.gz
rust-0421c6049b4dab7337eb3567abf981b2f0adc526.zip
Fix forgotten capitalization
-rw-r--r--src/librustc/session/config.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/librustc/session/config.rs b/src/librustc/session/config.rs
index 6a668099e18..56f9a708fee 100644
--- a/src/librustc/session/config.rs
+++ b/src/librustc/session/config.rs
@@ -2940,15 +2940,15 @@ mod tests {
             .push(SearchPath::from_cli_opt("all=mno", JSON));
 
         v4.search_paths
-            .push(SearchPath::from_cli_opt("all=mno", json));
+            .push(SearchPath::from_cli_opt("all=mno", JSON));
         v4.search_paths
-            .push(SearchPath::from_cli_opt("native=abc", json));
+            .push(SearchPath::from_cli_opt("native=abc", JSON));
         v4.search_paths
-            .push(SearchPath::from_cli_opt("crate=def", json));
+            .push(SearchPath::from_cli_opt("crate=def", JSON));
         v4.search_paths
-            .push(SearchPath::from_cli_opt("dependency=ghi", json));
+            .push(SearchPath::from_cli_opt("dependency=ghi", JSON));
         v4.search_paths
-            .push(SearchPath::from_cli_opt("framework=jkl", json));
+            .push(SearchPath::from_cli_opt("framework=jkl", JSON));
 
         assert!(v1.dep_tracking_hash() == v2.dep_tracking_hash());
         assert!(v1.dep_tracking_hash() == v3.dep_tracking_hash());