Lines Matching refs:BIN_NAME
22 const BIN_NAME: &str = "bin";
65 bins.push(mk_bin(&p, BIN_NAME, "").unwrap());
66 bins.push(mk_bin(&p, BIN_NAME, "exe").unwrap());
67 bins.push(mk_bin(&p, BIN_NAME, "cmd").unwrap());
123 assert_eq!(_which(&f, &BIN_NAME).unwrap(), f.bins[0])
130 assert_eq!(_which(&f, &BIN_NAME).unwrap(), f.bins[1])
189 let b = Path::new(&BIN_NAME).with_extension("");
197 let b = Path::new(&BIN_NAME).with_extension("cmd");
228 let actual = _which_all(&f, BIN_NAME)
239 expected.retain(|p| p.file_stem().unwrap() == BIN_NAME);
244 expected.retain(|p| p.file_name().unwrap() == BIN_NAME);
284 let b = f.bins[3].parent().unwrap().join(&BIN_NAME);
293 let b = f.bins[4].parent().unwrap().join(&BIN_NAME);