mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
More lenient assertion for whereami -n
This commit is contained in:
parent
0eccbbbd43
commit
982b4fa92d
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ describe "whereami" do
|
|||
class Cor
|
||||
def blimey!
|
||||
out = pry_eval(binding, 'whereami -n')
|
||||
out.should =~ /^def/
|
||||
out.should =~ /^\s*def/
|
||||
out.should.not =~ /\=\>/
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue