Skip to content

Commit

Permalink
Remove emtpy lines from beginning and end of blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
sferik committed Dec 11, 2014
1 parent 98aa776 commit 944b1a4
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 19 deletions.
2 changes: 0 additions & 2 deletions spec/cli_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
require 'helper'

describe T::CLI do

before :all do
Timecop.freeze(Time.utc(2011, 11, 24, 16, 20, 0))
T.utc_offset = 'PST'
Expand Down Expand Up @@ -4187,5 +4186,4 @@
end
end
end

end
2 changes: 0 additions & 2 deletions spec/delete_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
require 'helper'

describe T::Delete do

before do
T::RCFile.instance.path = fixture_path + '/.trc'
@delete = T::Delete.new
Expand Down Expand Up @@ -341,5 +340,4 @@
end
end
end

end
2 changes: 0 additions & 2 deletions spec/editor_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
require 'helper'

describe T::Editor do

context 'when editing a file' do
before do
allow(T::Editor).to receive(:edit) do |path|
Expand Down Expand Up @@ -98,5 +97,4 @@
end
end
end

end
2 changes: 0 additions & 2 deletions spec/list_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
require 'helper'

describe T::List do

before :all do
Timecop.freeze(Time.utc(2011, 11, 24, 16, 20, 0))
T.utc_offset = 'PST'
Expand Down Expand Up @@ -808,5 +807,4 @@
end
end
end

end
2 changes: 0 additions & 2 deletions spec/rcfile_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
require 'helper'

describe T::RCFile do

after do
T::RCFile.instance.reset
File.delete(project_path + '/tmp/trc') if File.exist?(project_path + '/tmp/trc')
Expand Down Expand Up @@ -217,5 +216,4 @@
expect(rcfile.profiles.keys).to eq %w(testcli)
end
end

end
2 changes: 0 additions & 2 deletions spec/search_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
require 'helper'

describe T::Search do

before :all do
Timecop.freeze(Time.utc(2011, 11, 24, 16, 20, 0))
T.utc_offset = 'PST'
Expand Down Expand Up @@ -940,5 +939,4 @@
end
end
end

end
2 changes: 0 additions & 2 deletions spec/set_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
require 'helper'

describe T::Set do

before do
T::RCFile.instance.path = fixture_path + '/.trc'
@set = T::Set.new
Expand Down Expand Up @@ -150,5 +149,4 @@
expect($stdout.string.chomp).to eq "@testcli's website has been updated."
end
end

end
2 changes: 0 additions & 2 deletions spec/utils_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
require 'helper'

describe T::Utils do

before :all do
Timecop.freeze(Time.utc(2011, 11, 24, 16, 20, 0))
T.utc_offset = -28_800
Expand Down Expand Up @@ -92,5 +91,4 @@ class Test; end
end
end
end

end
2 changes: 0 additions & 2 deletions tasks/bash.rake
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
namespace :completion do
desc 'Generate bash completion file'
task :bash do

Bundler.require(:default)

output_path = 'etc/t-completion.sh'
Expand Down Expand Up @@ -52,7 +51,6 @@ module BashCompletion

def comp_cases
commands.collect do |cmd|

options_str = options(cmd).join(' ')
subcmds = subcommands(cmd)

Expand Down
1 change: 0 additions & 1 deletion tasks/zsh.rake
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
namespace :completion do
desc 'Generate zsh completion file'
task :zsh do

Bundler.require(:default)

output_path = 'etc/t-completion.zsh'
Expand Down

0 comments on commit 944b1a4

Please sign in to comment.