From a687aff3a742903c60037f19284c884d4de0bca8 Mon Sep 17 00:00:00 2001 From: Scott Schafer Date: Wed, 21 Aug 2024 15:23:30 -0600 Subject: [PATCH] test: Use consistent colors when testing --- Cargo.lock | 1 + Cargo.toml | 1 + 2 files changed, 2 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index a686b02..226775f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -21,6 +21,7 @@ checksum = "4b46cbb362ab8752921c97e041f5e366ee6297bd428a31275b9fcf1e380f7299" name = "annotate-snippets" version = "0.11.4" dependencies = [ + "annotate-snippets", "anstream 0.6.15", "anstyle", "criterion", diff --git a/Cargo.toml b/Cargo.toml index 62ab387..d323686 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -28,6 +28,7 @@ anstyle = "1.0.4" unicode-width = "0.1.11" [dev-dependencies] +annotate-snippets = { path = ".", features = ["testing-colors"] } anstream = "0.6.13" criterion = "0.5.1" difference = "2.0.0"