Skip to content

Fix title of whereami when using prepend #1444

@kyrylo

Description

@kyrylo

Currently:

From: /home/kyrylo/code/pry/repl/spec/commands/whereami_spec.rb @ line 54 **Cor2#blimey!**:

    49:         end
    50:       end
    51:       class Cor
    52:         prepend Cor2
    53:         def blimey!
 => 54:           puts pry_eval(binding, 'whereami')
    55:           pry_eval(binding, 'whereami').should =~ /Cor2[#]blimey!/
    56:         end
    57:       end
    58: 
    59:       Cor.new.blimey!

Should be:

From: /home/kyrylo/code/pry/repl/spec/commands/whereami_spec.rb @ line 54 **Cor#blimey!**:

    49:         end
    50:       end
    51:       class Cor
    52:         prepend Cor2
    53:         def blimey!
 => 54:           puts pry_eval(binding, 'whereami')
    55:           pry_eval(binding, 'whereami').should =~ /Cor2[#]blimey!/
    56:         end
    57:       end
    58: 
    59:       Cor.new.blimey!

See this PR for details: #1398

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions