You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my unit tests dealing with Rserve and QAP parsing, I have duplicate code section that cleans up the expected value of closures to delete its 'environment' member because those aren't serialized in QAP. Instead, it would be cleaner to just have the expected value that is a subclass of REXP::Closure that overrides the equal method to allow equality when the compared object's "environment" is undef if everything else matches.
The text was updated successfully, but these errors were encountered:
In my unit tests dealing with Rserve and QAP parsing, I have duplicate code section that cleans up the expected value of closures to delete its 'environment' member because those aren't serialized in QAP. Instead, it would be cleaner to just have the expected value that is a subclass of REXP::Closure that overrides the equal method to allow equality when the compared object's "environment" is
undef
if everything else matches.The text was updated successfully, but these errors were encountered: