Add a test proving that renamed variables are still equal, so its not just based on path.
This commit is contained in:
parent
4dee230780
commit
865cba6f4e
@ -21,3 +21,9 @@
|
||||
{@eq key=array_of_some_obj value=array_of_some_obj}array_of_some_obj is equal to array_of_some_obj{:else}array_of_some_obj does not equal array_of_some_obj{/eq}{~n}
|
||||
{@eq key=array_of_some_obj value=copy_array_of_some_obj}array_of_some_obj is equal to copy_array_of_some_obj{:else}array_of_some_obj does not equal copy_array_of_some_obj{/eq}{~n}
|
||||
{@eq key=array_of_some_obj value=array_of_other_obj}array_of_some_obj is equal to array_of_other_obj{:else}array_of_some_obj does not equal array_of_other_obj{/eq}{~n}
|
||||
|
||||
Do objects with different paths referencing the same variable match?{~n}
|
||||
===================================================================={~n}
|
||||
{#int renamed=some_obj}
|
||||
{@eq key=some_obj value=renamed}some_obj equals renamed{:else}some_obj does not equal renamed{/eq}{~n}
|
||||
{/int}
|
||||
|
Loading…
x
Reference in New Issue
Block a user