about summary refs log tree commit diff
path: root/src/librustpkg/tests.rs
diff options
context:
space:
mode:
authorPatrick Walton <pcwalton@mimiga.net>2013-11-21 19:20:48 -0800
committerPatrick Walton <pcwalton@mimiga.net>2013-11-26 08:25:27 -0800
commit38efa17bb8b9c1077e7b8cd9d67da08dec3f0bda (patch)
tree02ee1d054e2e991f9885ecfbf0c8dd6a9700df78 /src/librustpkg/tests.rs
parentf571e46ddb696d15a8cc912309714ca74f23dcc4 (diff)
downloadrust-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.rs2
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) {