From 058be43cf48b7752d0a9e228e12f4e3195fb638b Mon Sep 17 00:00:00 2001 From: ttyS3 Date: Sun, 24 Mar 2024 10:51:41 +0000 Subject: [PATCH] test: fix warning: use of deprecated macro `ui` (it's alias, actual is insta::assert_display_snapshot): use assert_snapshot!() instead --- tests/ui.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ui.rs b/tests/ui.rs index 9800780..0c55c04 100644 --- a/tests/ui.rs +++ b/tests/ui.rs @@ -8,7 +8,7 @@ mod utils; use std::{ffi::OsStr, io, path::Path, process::Output}; -use insta::assert_display_snapshot as ui; +use insta::assert_snapshot as ui; use regex::Regex; use crate::utils::create_files_in; -- 2.11.4.GIT