From 40889da5e4b40cb461eae1cca996e2f098003ddd Mon Sep 17 00:00:00 2001 From: a-kenji Date: Tue, 6 Aug 2024 00:59:54 +0200 Subject: [PATCH] Remove unused test code --- src/walk.rs | 105 ---------------------------------------------------- 1 file changed, 105 deletions(-) diff --git a/src/walk.rs b/src/walk.rs index 9502289..f83b8e7 100644 --- a/src/walk.rs +++ b/src/walk.rs @@ -1059,108 +1059,3 @@ impl<'a> Walker { None } } - -// #[cfg(test)] -// mod tests { -// use super::*; -// fn minimal_flake() -> &'static str { -// r#" -// { -// description = "flk - a tui for your flakes."; -// -// inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; -// -// inputs.rust-overlay = { -// url = "github:oxalica/rust-overlay"; -// inputs.nixpkgs.follows = "nixpkgs"; -// inputs.flake-utils.follows = "flake-utils"; -// } -// -// inputs.crane = { -// url = "github:ipetkov/crane"; -// inputs.nixpkgs.follows = "nixpkgs"; -// inputs.rust-overlay.follows = "rust-overlay"; -// inputs.flake-utils.follows = "flake-utils"; -// }; -// -// outputs = { -// self, -// nixpkgs, -// flake-utils, -// rust-overlay, -// crane, -// }: -// {}; -// } -// "# -// } -// fn minimal_flake_inputs_attrs() -> &'static str { -// r#" -// { -// description = "flk - a tui for your flakes."; -// -// inputs = { -// nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; -// -// rust-overlay = { -// url = "github:oxalica/rust-overlay"; -// inputs.nixpkgs.follows = "nixpkgs"; -// inputs.flake-utils.follows = "flake-utils"; -// }; -// -// crane = { -// url = "github:ipetkov/crane"; -// inputs.nixpkgs.follows = "nixpkgs"; -// inputs.rust-overlay.follows = "rust-overlay"; -// inputs.flake-utils.follows = "flake-utils"; -// }; -// }; -// -// outputs = { -// self, -// nixpkgs, -// flake-utils, -// rust-overlay, -// crane, -// }: -// {}; -// } -// "# -// } -// fn only_inputs_flake() -> &'static str { -// r#" -// { -// inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; -// -// inputs.rust-overlay = { -// url = "github:oxalica/rust-overlay"; -// inputs.nixpkgs.follows = "nixpkgs"; -// inputs.flake-utils.follows = "flake-utils"; -// }; -// -// inputs.crane = { -// url = "github:ipetkov/crane"; -// inputs.nixpkgs.follows = "nixpkgs"; -// inputs.rust-overlay.follows = "rust-overlay"; -// inputs.flake-utils.follows = "flake-utils"; -// }; -// -// outputs = {}: -// {}; -// } -// "# -// } -// fn no_inputs_flake() -> &'static str { -// r#" -// { -// description = "flk - a tui for your flakes."; -// -// outputs = { -// self, -// nixpkgs, -// }: -// {}; -// } -// "# -// } -// }