Skip to content

Commit

Permalink
Works
Browse files Browse the repository at this point in the history
  • Loading branch information
klensy committed Jun 22, 2024
1 parent cdde87b commit 66cbbf3
Show file tree
Hide file tree
Showing 10 changed files with 581 additions and 2 deletions.
51 changes: 51 additions & 0 deletions Cargo.lock

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

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ annotate-snippets = { version = "0.11.2" }
levenshtein = "1.0.5"
spanned = "0.2.1"
supports-color = "3.0"
anstream = { version = "0.6", default-features = false, features = ["auto"]}

[dependencies.regex]
version = "1.5.5"
Expand Down
3 changes: 2 additions & 1 deletion src/diff.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
use owo_colors::OwoColorize;
use anstream::{print, println};
use owo_colors::OwoColorize as _;
use prettydiff::{basic::DiffOp, basic::DiffOp::*, diff_lines, diff_words};

/// How many lines of context are displayed around the actual diffs
Expand Down
3 changes: 2 additions & 1 deletion src/status_emitter.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
//! Variaous schemes for reporting messages during testing or after testing is done.
use annotate_snippets::{Renderer, Snippet};
use anstream::{print, println};
use bstr::ByteSlice;
use crossbeam_channel::{Sender, TryRecvError};
use indicatif::{MultiProgress, ProgressBar, ProgressDrawTarget, ProgressStyle};
use owo_colors::OwoColorize;
use owo_colors::OwoColorize as _;
use spanned::Span;

use crate::{
Expand Down
124 changes: 124 additions & 0 deletions tests/integrations/basic-fail-mode/Cargo.lock

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

Loading

0 comments on commit 66cbbf3

Please sign in to comment.