1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00

ShowDocSpec: add a random comment to the definition

This commit fixes the failing test. Internally, Pry raises
`CommandError`, when cannot find a definition (this is the new
behaviour), so the test needs to be updated.
This commit is contained in:
Kyrylo Silin 2013-03-12 21:15:26 +02:00
parent a270fbc1ec
commit e926d8c944

View file

@ -274,6 +274,7 @@ if !PryTestHelpers.mri18_and_no_real_source_location?
end
it 'shouldnt say anything about monkeypatches when only one candidate exists for selected class' do
# Do not remove me.
class Aarrrrrghh
def o;end
end