about summary refs log tree commit diff
path: root/src/compiletest/errors.rs
diff options
context:
space:
mode:
author= <luke.metz@students.olin.edu>2014-10-11 10:50:35 +0000
committerLuke Metz <luke.metz@students.olin.edu>2014-10-15 12:31:35 -0400
commit0ad6f0aa556e91e34fd46c20672bad973614adc0 (patch)
tree12b374be12295b8999130f7ad85f88e2c458c67b /src/compiletest/errors.rs
parentff0abf05c9852df629df4a1ebe2e4276a87fc4f9 (diff)
downloadrust-0ad6f0aa556e91e34fd46c20672bad973614adc0.tar.gz
rust-0ad6f0aa556e91e34fd46c20672bad973614adc0.zip
Renamed AsciiStr::to_lower and AsciiStr::to_upper
Now AsciiStr::to_lowercase and AsciiStr::to_uppercase to match Ascii trait.
[breaking-change]
Diffstat (limited to 'src/compiletest/errors.rs')
-rw-r--r--src/compiletest/errors.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiletest/errors.rs b/src/compiletest/errors.rs
index 7681792bdf5..3751f8f4dc0 100644
--- a/src/compiletest/errors.rs
+++ b/src/compiletest/errors.rs
@@ -31,7 +31,7 @@ pub fn load_errors(re: &Regex, testfile: &Path) -> Vec<ExpectedError> {
 fn parse_expected(line_num: uint, line: &str, re: &Regex) -> Option<ExpectedError> {
     re.captures(line).and_then(|caps| {
         let adjusts = caps.name("adjusts").len();
-        let kind = caps.name("kind").to_ascii().to_lower().into_string();
+        let kind = caps.name("kind").to_ascii().to_lowercase().into_string();
         let msg = caps.name("msg").trim().to_string();
 
         debug!("line={} kind={} msg={}", line_num, kind, msg);