diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2013-01-24 22:19:44 -0500 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2013-01-24 23:02:44 -0500 |
| commit | d95c9cbe3891837b7e608473876fcd97dc35a6c9 (patch) | |
| tree | f7085140401223b8e2714d91784aa7db6cb9e86d /src/compiletest | |
| parent | c3f4f654eb35b21df4f1f893721b89d0897dbe93 (diff) | |
| download | rust-d95c9cbe3891837b7e608473876fcd97dc35a6c9.tar.gz rust-d95c9cbe3891837b7e608473876fcd97dc35a6c9.zip | |
replace ConstVector trait with the Container trait
Diffstat (limited to 'src/compiletest')
| -rw-r--r-- | src/compiletest/runtest.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/compiletest/runtest.rs b/src/compiletest/runtest.rs index f1af335eebf..62842d04e78 100644 --- a/src/compiletest/runtest.rs +++ b/src/compiletest/runtest.rs @@ -59,8 +59,8 @@ fn run_cfail_test(config: config, props: test_props, testfile: &Path) { check_correct_failure_status(procres); let expected_errors = errors::load_errors(testfile); - if vec::is_not_empty(expected_errors) { - if vec::is_not_empty(props.error_patterns) { + if !expected_errors.is_empty() { + if !props.error_patterns.is_empty() { fatal(~"both error pattern and expected errors specified"); } check_expected_errors(expected_errors, testfile, procres); @@ -440,7 +440,7 @@ fn compose_and_run_compiler( args: procargs, input: Option<~str>) -> procres { - if props.aux_builds.is_not_empty() { + if !props.aux_builds.is_empty() { ensure_dir(&aux_output_dir_name(config, testfile)); } |
