Skip to content

Commit

Permalink
Merge pull request #193 from o2sh/dependabot/cargo/colored-2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot[bot] authored Aug 24, 2020
2 parents 53b25ed + 2f9587f commit 873fc45
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 62 deletions.
66 changes: 5 additions & 61 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ section = "utility"
priority = "optional"

[dependencies]
colored= "1.8.0"
colored= "2.0.0"
git2 = {version = "0.13.10", default-features = false}
tokei = "12.0.0"
askalono = "0.4.2"
Expand Down
3 changes: 3 additions & 0 deletions src/ascii_art.rs
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,9 @@ mod test {

#[test]
fn render() {
use colored::control::SHOULD_COLORIZE;
SHOULD_COLORIZE.set_override(true);

let colors_shim = Vec::new();

assert_eq!(
Expand Down

0 comments on commit 873fc45

Please sign in to comment.