chore (backend-rs): use pretty_assertions in unit tests
This commit is contained in:
parent
148c3736ce
commit
35ca75bfe5
2 changed files with 2 additions and 0 deletions
|
@ -36,6 +36,7 @@ pub fn acct_to_string(acct: &Acct) -> String {
|
|||
#[cfg(test)]
|
||||
mod unit_test {
|
||||
use super::{acct_to_string, string_to_acct, Acct};
|
||||
use pretty_assertions::assert_eq;
|
||||
|
||||
#[test]
|
||||
fn test_acct_to_string() {
|
||||
|
|
|
@ -82,6 +82,7 @@ pub fn nyaify(text: &str, lang: Option<&str>) -> String {
|
|||
#[cfg(test)]
|
||||
mod unit_test {
|
||||
use super::nyaify;
|
||||
use pretty_assertions::assert_eq;
|
||||
|
||||
#[test]
|
||||
fn can_nyaify() {
|
||||
|
|
Loading…
Reference in a new issue