Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use a different way to test warning emission
The test case was added in d08ef68 to verify that IRB emits Ruby warning as expected. But the subject it uses relies on CRuby's regexp engine, which isn't always used in other language implementations, like TruffleRuby. That's why we ended up skipping TruffleRuby in this test case. Since the test isn't about regexp itself, we can change the testing subject and just remove the special condition for TruffleRuby. Co-authored-by: Kevin Menard <kevin@nirvdrum.com>
- Loading branch information