Revert "Remove cargo-fmt and rustfmt-bin from self_tests()"

This reverts commit 93c349a6c1.
This commit is contained in:
Nick Cameron 2018-03-02 14:11:28 +13:00
parent a02b658d2c
commit f377d1f59c

View File

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