summaryrefslogtreecommitdiffstats
path: root/melib/src/lib.rs
diff options
context:
space:
mode:
authorManos Pitsidianakis <el13635@mail.ntua.gr>2020-02-08 23:08:56 +0200
committerManos Pitsidianakis <el13635@mail.ntua.gr>2020-02-08 23:55:47 +0200
commitb1074242580af544c60a71b5b9848a0b340e47a5 (patch)
treefdc344bd93fae02cfbf0a9662a25ea23f5c4ddbb /melib/src/lib.rs
parent50bfed72475970c749738b5eb61da017303ec7a2 (diff)
melib: update GlobMatch algorithm
Taken from https://research.swtch.com/glob
Diffstat (limited to 'melib/src/lib.rs')
-rw-r--r--melib/src/lib.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/melib/src/lib.rs b/melib/src/lib.rs
index c9dc9307..d7bd908f 100644
--- a/melib/src/lib.rs
+++ b/melib/src/lib.rs
@@ -301,8 +301,6 @@ pub mod shellexpand {
#[test]
fn test_shellexpandtrait() {
- let path = &Path::new("~/.v");
- //println!("ret = {:?}", path.expand().complete(false));
assert!(Path::new("~").expand().complete(false).is_empty());
assert!(!Path::new("~").expand().complete(true).is_empty());
}