From 1f4532fb3553e7fe72a5b2b3b86e460d857c563c Mon Sep 17 00:00:00 2001 From: Jack Kinsella Date: Sat, 19 May 2018 12:56:52 +0200 Subject: [PATCH] Fix formatting in spec --- spec/commands/edit_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/commands/edit_spec.rb b/spec/commands/edit_spec.rb index ce1e317d..74c6300e 100644 --- a/spec/commands/edit_spec.rb +++ b/spec/commands/edit_spec.rb @@ -373,8 +373,8 @@ describe "edit" do it "should write the evaluated command to history" do quote = 'history repeats itself, first as tradegy...' Pry.config.editor = lambda {|file, line| - File.open(file, 'w'){ - |f| f << quote + File.open(file, 'w') { |f| + f << quote } nil }