Skip to main content

luaur_analysis/methods/
checked_function_call_error_operator_eq.rs

1use crate::records::checked_function_call_error::CheckedFunctionCallError;
2
3impl CheckedFunctionCallError {
4    #[inline]
5    pub fn operator_eq(&self, rhs: &CheckedFunctionCallError) -> bool {
6        self.expected == rhs.expected
7            && self.passed == rhs.passed
8            && self.checkedFunctionName == rhs.checkedFunctionName
9            && self.argumentIndex == rhs.argumentIndex
10    }
11}