Rename some files (#952)

* renamed some files

* clippy

* update tests
This commit is contained in:
Darren Schroeder
2022-02-05 11:35:02 -06:00
committed by GitHub
parent 3eba90232a
commit 2dd32c2b88
35 changed files with 63 additions and 62 deletions

View File

@ -445,7 +445,7 @@ fn build_ansi_hashmap(v: &'static [AnsiCode]) -> HashMap<&'static str, &'static
#[cfg(test)]
mod tests {
use super::AnsiCommand;
use crate::platform::ansi::ansi_::AnsiCommand;
#[test]
fn examples_work_as_expected() {

View File

@ -1,7 +1,7 @@
mod command;
mod ansi_;
mod gradient;
mod strip;
pub use command::AnsiCommand as Ansi;
pub use ansi_::AnsiCommand as Ansi;
pub use gradient::SubCommand as AnsiGradient;
pub use strip::SubCommand as AnsiStrip;