From 37d4dce5c4030ac837db35c6f0d9137a880135e2 Mon Sep 17 00:00:00 2001 From: "Aode (lion)" Date: Sun, 26 Dec 2021 11:54:06 -0600 Subject: [PATCH] Update owo-colors --- Cargo.toml | 2 +- tests/data/theme_control.txt | 4 ++-- tests/themes.rs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 6f692db..25e4822 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,7 +14,7 @@ readme = "README.md" [dependencies] tracing-error = "0.1.2" tracing-core = "0.1.10" -owo-colors = "1.2.0" +owo-colors = "3.2.0" once_cell = "1.4.1" [dev-dependencies] diff --git a/tests/data/theme_control.txt b/tests/data/theme_control.txt index 0b97908..96d8830 100644 --- a/tests/data/theme_control.txt +++ b/tests/data/theme_control.txt @@ -4,6 +4,6 @@ at tests/themes.rs:42 40 │ use tracing_subscriber::{prelude::*, registry::Registry}; 41 │ - 42 > #[instrument] + 42 > #[instrument] 43 │ fn test_capture(x: u8) -> SpanTrace { - 44 │ if x == 42 { \ No newline at end of file + 44 │ #[allow(clippy::if_same_then_else)] \ No newline at end of file diff --git a/tests/themes.rs b/tests/themes.rs index 21bdae0..f29fa59 100644 --- a/tests/themes.rs +++ b/tests/themes.rs @@ -40,8 +40,8 @@ use tracing_error::SpanTrace; use tracing_subscriber::{prelude::*, registry::Registry}; #[instrument] -#[allow(clippy::clippy::if_same_then_else)] fn test_capture(x: u8) -> SpanTrace { + #[allow(clippy::if_same_then_else)] if x == 42 { SpanTrace::capture() } else {