Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test which checks the error being raised by #unsupported in ToSql Vis…
…itor
- Loading branch information
c28e9ef
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why shouldn't it raise an
ArgumentError
?c28e9ef
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh right, my test name is bad. The reason it shouldn't have raised an ArgumentError is because that error was being raised due to a method signature mismatch, not by intention / checking things. PR where it was merged (#276) shows discussion / other commits. The assertion has been changed to check the message at least.
Can detail more there if you want.
c28e9ef
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, thank you so much for pointing me to the pull request! I was just curious as to why, since it seemed like argument error was a natural fit. I was interested because I just opened #369 to adjust the message somewhat.
Thank you!