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

Fix formatting in spec

This commit is contained in:
Jack Kinsella 2018-05-19 12:56:52 +02:00 committed by GitHub
parent 782a09e057
commit 1f4532fb35
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -373,8 +373,8 @@ describe "edit" do
it "should write the evaluated command to history" do it "should write the evaluated command to history" do
quote = 'history repeats itself, first as tradegy...' quote = 'history repeats itself, first as tradegy...'
Pry.config.editor = lambda {|file, line| Pry.config.editor = lambda {|file, line|
File.open(file, 'w'){ File.open(file, 'w') { |f|
|f| f << quote f << quote
} }
nil nil
} }