switch to pretty_assertions, makes it much easier to tell what blew up
This commit is contained in:
parent
6b27a560e3
commit
e1287514f6
5 changed files with 7 additions and 0 deletions
|
|
@ -7,6 +7,9 @@ edition = "2024"
|
||||||
default = []
|
default = []
|
||||||
log = ["dep:log", "dep:simple_logger"]
|
log = ["dep:log", "dep:simple_logger"]
|
||||||
|
|
||||||
|
[dev-dependencies]
|
||||||
|
pretty_assertions = "1.4.1"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "1.0.95"
|
anyhow = "1.0.95"
|
||||||
chrono = "0.4.41"
|
chrono = "0.4.41"
|
||||||
|
|
|
||||||
|
|
@ -208,6 +208,7 @@ impl Comment {
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod tests {
|
mod tests {
|
||||||
use super::*;
|
use super::*;
|
||||||
|
use pretty_assertions::assert_eq;
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn read_comment_0() {
|
fn read_comment_0() {
|
||||||
|
|
|
||||||
|
|
@ -502,6 +502,7 @@ fn create_orphan_branch_at_path(
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod tests {
|
mod tests {
|
||||||
use super::*;
|
use super::*;
|
||||||
|
use pretty_assertions::assert_eq;
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_worktree() {
|
fn test_worktree() {
|
||||||
|
|
|
||||||
|
|
@ -548,6 +548,7 @@ impl Issue {
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod tests {
|
mod tests {
|
||||||
use super::*;
|
use super::*;
|
||||||
|
use pretty_assertions::assert_eq;
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn read_issue_0() {
|
fn read_issue_0() {
|
||||||
|
|
|
||||||
|
|
@ -87,6 +87,7 @@ impl Issues {
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod tests {
|
mod tests {
|
||||||
use super::*;
|
use super::*;
|
||||||
|
use pretty_assertions::assert_eq;
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn read_issues_0000() {
|
fn read_issues_0000() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue