Skip to content

Commit

Permalink
fix #45
Browse files Browse the repository at this point in the history
  • Loading branch information
George Cook committed May 26, 2019
1 parent 34f17aa commit 89792c4
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions src/Rooibos_BaseTestSuite.brs
Original file line number Diff line number Diff line change
Expand Up @@ -1012,13 +1012,15 @@ function RBS_BTS_EqAssocArray(Value1 , Value2 ) as dynamic
return false
else
for each k in Value1
if not Value2.DoesExist(k)
return false
else
v1 = Value1[k]
v2 = Value2[k]
if not RBS_BTS_EqValues(v1, v2)
if k <> "__mocks" and k <> "__stubs" 'fix infinite loop/box crash when doing equals on an aa with a mock
if not Value2.DoesExist(k)
return false
else
v1 = Value1[k]
v2 = Value2[k]
if not RBS_BTS_EqValues(v1, v2)
return false
end if
end if
end if
end for
Expand Down

0 comments on commit 89792c4

Please sign in to comment.