Merge pull request #2492 from dlukes/feat/fix-tests

Remove cargo-fmt and rustfmt-bin from self_tests()
This commit is contained in:
Nick Cameron 2018-02-27 21:37:56 +13:00 committed by GitHub
commit 01873d5194
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -211,12 +211,7 @@ fn idempotence_tests() {
#[test]
fn self_tests() {
let mut files = get_test_files(Path::new("tests"), false);
let bin_directories = vec![
"cargo-fmt",
"git-rustfmt",
"rustfmt-bin",
"rustfmt-format-diff",
];
let bin_directories = vec!["git-rustfmt", "rustfmt-format-diff"];
for dir in bin_directories {
let mut path = PathBuf::from("..");
path.push(dir);