diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2013-11-21 19:20:48 -0800 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2013-11-26 08:25:27 -0800 |
| commit | 38efa17bb8b9c1077e7b8cd9d67da08dec3f0bda (patch) | |
| tree | 02ee1d054e2e991f9885ecfbf0c8dd6a9700df78 /src/librustpkg/tests.rs | |
| parent | f571e46ddb696d15a8cc912309714ca74f23dcc4 (diff) | |
| download | rust-38efa17bb8b9c1077e7b8cd9d67da08dec3f0bda.tar.gz rust-38efa17bb8b9c1077e7b8cd9d67da08dec3f0bda.zip | |
test: Remove all remaining non-procedure uses of `do`.
Diffstat (limited to 'src/librustpkg/tests.rs')
| -rw-r--r-- | src/librustpkg/tests.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustpkg/tests.rs b/src/librustpkg/tests.rs index 7413e7847b4..86c0fb27680 100644 --- a/src/librustpkg/tests.rs +++ b/src/librustpkg/tests.rs @@ -384,7 +384,7 @@ fn executable_exists(repo: &Path, short_name: &str) -> bool { fn test_executable_exists(repo: &Path, short_name: &str) -> bool { debug!("test_executable_exists: repo = {}, short_name = {}", repo.display(), short_name); let exec = built_test_in_workspace(&PkgId::new(short_name), repo); - exec.map_default(false, |exec| exec.exists() && is_rwx(&exec)); + exec.map_default(false, |exec| exec.exists() && is_rwx(&exec)) } fn remove_executable_file(p: &PkgId, workspace: &Path) { |
