diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2013-10-06 13:24:50 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2013-10-10 03:38:51 -0700 |
| commit | b07ab1fe4baa584401fa17a7ba20bea8c97c5043 (patch) | |
| tree | 4badfcd00208c0c9686b678b72c36183f54ca8fb /src/compiletest/errors.rs | |
| parent | 2e0f3f5b510112395a40a0cb5bfbb6aac510d808 (diff) | |
| download | rust-b07ab1fe4baa584401fa17a7ba20bea8c97c5043.tar.gz rust-b07ab1fe4baa584401fa17a7ba20bea8c97c5043.zip | |
Migrate users of io::fd_t to io::native::file::fd_t
Diffstat (limited to 'src/compiletest/errors.rs')
| -rw-r--r-- | src/compiletest/errors.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiletest/errors.rs b/src/compiletest/errors.rs index 02195e684e3..13f4cbf8e21 100644 --- a/src/compiletest/errors.rs +++ b/src/compiletest/errors.rs @@ -26,6 +26,7 @@ pub fn load_errors(testfile: &Path) -> ~[ExpectedError] { } fn parse_expected(line_num: uint, line: ~str) -> ~[ExpectedError] { + let line = line.trim(); let error_tag = ~"//~"; let mut idx; match line.find_str(error_tag) { |
