switch to pretty_assertions, makes it much easier to tell what blew up

This commit is contained in:
Sebastian Kuzminsky 2025-07-23 15:26:42 -06:00
parent 6b27a560e3
commit e1287514f6
5 changed files with 7 additions and 0 deletions

View file

@ -7,6 +7,9 @@ edition = "2024"
default = []
log = ["dep:log", "dep:simple_logger"]
[dev-dependencies]
pretty_assertions = "1.4.1"
[dependencies]
anyhow = "1.0.95"
chrono = "0.4.41"

View file

@ -208,6 +208,7 @@ impl Comment {
#[cfg(test)]
mod tests {
use super::*;
use pretty_assertions::assert_eq;
#[test]
fn read_comment_0() {

View file

@ -502,6 +502,7 @@ fn create_orphan_branch_at_path(
#[cfg(test)]
mod tests {
use super::*;
use pretty_assertions::assert_eq;
#[test]
fn test_worktree() {

View file

@ -548,6 +548,7 @@ impl Issue {
#[cfg(test)]
mod tests {
use super::*;
use pretty_assertions::assert_eq;
#[test]
fn read_issue_0() {

View file

@ -87,6 +87,7 @@ impl Issues {
#[cfg(test)]
mod tests {
use super::*;
use pretty_assertions::assert_eq;
#[test]
fn read_issues_0000() {