Skip to content

Conversation

@schneems
Copy link
Collaborator

@schneems schneems commented Nov 2, 2021

When we proxy Object.load to Kernel.load we were firing DeadEnd.handle_error twice. Switching the test over to a load instead of a require_relative makes the error show up, which can then be asserted via adding the once call in rspec.

I still don't know why this code was needed in the first place.

close #97

When we proxy `Object.load` to `Kernel.load` we were firing `DeadEnd.handle_error` twice. Switching the test over to a `load` instead of a `require_relative` makes the error show up, which can then be asserted via adding the `once` call in rspec.

I still don't know why this code was needed in the first place.

close #97
@schneems schneems force-pushed the schneems/double-trouble branch from c2d2005 to 42cb5e0 Compare November 2, 2021 22:14
@schneems schneems merged commit dc8b6cf into main Nov 2, 2021
@schneems schneems deleted the schneems/double-trouble branch November 2, 2021 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Double output

2 participants