diff options
author | Kyrylo Silin <silin@kyrylo.org> | 2018-09-20 14:18:11 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-20 14:18:11 +0800 |
commit | 3cb772e5647fa3509b69a22fee3831c3b60dad21 (patch) | |
tree | f114c7acffb9b1c6e3cb255e9b669fa0d689e018 | |
parent | 782a09e057d1e714074d61891a5fba293eb9faca (diff) | |
parent | 1f4532fb3553e7fe72a5b2b3b86e460d857c563c (diff) | |
download | pry-3cb772e5647fa3509b69a22fee3831c3b60dad21.tar.gz |
Merge pull request #1759 from jackkinsella/patch-1
Fix formatting in spec
-rw-r--r-- | spec/commands/edit_spec.rb | 4 |
1 files 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 } |