summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyrylo Silin <silin@kyrylo.org>2018-09-20 14:18:11 +0800
committerGitHub <noreply@github.com>2018-09-20 14:18:11 +0800
commit3cb772e5647fa3509b69a22fee3831c3b60dad21 (patch)
treef114c7acffb9b1c6e3cb255e9b669fa0d689e018
parent782a09e057d1e714074d61891a5fba293eb9faca (diff)
parent1f4532fb3553e7fe72a5b2b3b86e460d857c563c (diff)
downloadpry-3cb772e5647fa3509b69a22fee3831c3b60dad21.tar.gz
Merge pull request #1759 from jackkinsella/patch-1
Fix formatting in spec
-rw-r--r--spec/commands/edit_spec.rb4
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
}