@@ -147,6 +147,11 @@ public static bool AssertTrueLogEquivalent<T>(T a, T b, ref bool result, string
147147 bResult = a . Equals ( b ) ;
148148 }
149149
150+ if ( ! bResult )
151+ {
152+ optional3 = string . Format ( "{0} vs {1}" , a . ToString ( ) , b . ToString ( ) ) ;
153+ }
154+
150155 PrintTestLogAndSetResult ( bResult , ref result , header , subject , optional1 , optional2 , optional3 ) ;
151156
152157 return bResult ;
@@ -203,6 +208,8 @@ public static bool AssertTrueLogEquivalent(string a, string b, ref bool result,
203208 if ( ShouldBeTested ( a , b , ref bResult , header , subject ) )
204209 {
205210 bResult = a . Equals ( b ) ;
211+ optional1 = a . ToString ( ) ;
212+ optional2 = b . ToString ( ) ;
206213 PrintTestLogAndSetResult ( bResult , ref result , header , subject , optional1 , optional2 , optional3 ) ;
207214 }
208215
@@ -1008,8 +1015,6 @@ public bool IsEquivalentTo(Test_HAPI_ParmInfo other)
10081015
10091016 // skip id, parentId, childIndex
10101017 HEU_TestHelpers . AssertTrueLogEquivalent ( self . type , other . self . type , ref bResult , header , "type" ) ;
1011- HEU_TestHelpers . AssertTrueLogEquivalent ( self . scriptType , other . self . scriptType , ref bResult , header ,
1012- "scriptType" ) ;
10131018 HEU_TestHelpers . AssertTrueLogEquivalent ( self . permissions , other . self . permissions , ref bResult , header ,
10141019 "permissions" ) ;
10151020 HEU_TestHelpers . AssertTrueLogEquivalent ( self . tagCount , other . self . tagCount , ref bResult , header ,
0 commit comments