Switch to pretty_assertions
This commit is contained in:
@@ -35,6 +35,7 @@ impl Priority {
|
||||
#[cfg(test)]
|
||||
mod test {
|
||||
use super::*;
|
||||
use pretty_assertions::{assert_eq};
|
||||
|
||||
#[test]
|
||||
fn test_priority() {
|
||||
|
||||
@@ -41,6 +41,7 @@ impl Status {
|
||||
#[cfg(test)]
|
||||
mod test {
|
||||
use super::*;
|
||||
use pretty_assertions::{assert_eq};
|
||||
|
||||
#[test]
|
||||
fn test_status() {
|
||||
|
||||
@@ -138,6 +138,7 @@ pub(super) enum SyntheticTag {
|
||||
#[cfg(test)]
|
||||
mod test {
|
||||
use super::*;
|
||||
use pretty_assertions::{assert_eq};
|
||||
use rstest::rstest;
|
||||
use std::convert::TryInto;
|
||||
|
||||
|
||||
@@ -300,6 +300,7 @@ impl<'r> std::ops::Deref for TaskMut<'r> {
|
||||
#[cfg(test)]
|
||||
mod test {
|
||||
use super::*;
|
||||
use pretty_assertions::{assert_eq};
|
||||
|
||||
fn with_mut_task<F: FnOnce(TaskMut)>(f: F) {
|
||||
let mut replica = Replica::new_inmemory();
|
||||
|
||||
Reference in New Issue
Block a user