From f27f5aeb09616b932ab48f0905994879dd8bafe5 Mon Sep 17 00:00:00 2001 From: Weicao-CatilGrass <1992414357@qq.com> Date: Sun, 17 May 2026 22:30:50 +0800 Subject: Rename `NextProcess` to `Next` across the codebase --- mingling_core/src/tester/chain_process_tester.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mingling_core/src/tester') diff --git a/mingling_core/src/tester/chain_process_tester.rs b/mingling_core/src/tester/chain_process_tester.rs index 8cba772..20277fb 100644 --- a/mingling_core/src/tester/chain_process_tester.rs +++ b/mingling_core/src/tester/chain_process_tester.rs @@ -1,6 +1,6 @@ use std::fmt::Display; -use crate::{ChainProcess, Next, ProgramCollect}; +use crate::{ChainProcess, NextProcess, ProgramCollect}; /// Asserts that the chain process result has the expected output type and next state. /// @@ -26,7 +26,7 @@ use crate::{ChainProcess, Next, ProgramCollect}; /// - The result is `ChainProcess::Err`, outputting the error message. /// - When `member_id` is not `None` and does not equal the actual output's `member_id`, displaying the expected and actual values. /// - When `next` is not `None` and does not equal the actual next state, displaying the expected and actual values. -pub fn assert_next_eq(result: &ChainProcess, next: Option, member_id: Option) +pub fn assert_next_eq(result: &ChainProcess, next: Option, member_id: Option) where C: ProgramCollect + Display + PartialEq + 'static, { -- cgit