[DRE-commits] [gem2deb] 06/07: dh_make_ruby_test: fix indentation

Antonio Terceiro terceiro at moszumanska.debian.org
Sat Sep 16 00:50:32 UTC 2017


This is an automated email from the git hooks/post-receive script.

terceiro pushed a commit to branch master
in repository gem2deb.

commit 018b8971ea0a5240993283296ae4ff6bff1f66ed
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Fri Sep 15 21:26:25 2017 -0300

    dh_make_ruby_test: fix indentation
---
 test/unit/dh_make_ruby_test.rb | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/test/unit/dh_make_ruby_test.rb b/test/unit/dh_make_ruby_test.rb
index 3e0cfcb..1beb5e4 100644
--- a/test/unit/dh_make_ruby_test.rb
+++ b/test/unit/dh_make_ruby_test.rb
@@ -44,15 +44,15 @@ class DhMakeRubyTest < Gem2DebTestCase
   end
 
   should 'use #nnnn if no ITP bug exists' do
-      @dh_make_ruby = Gem2Deb::DhMakeRuby.new('ruby_foo-1.2.3.tar.gz', :do_wnpp_check => true)
-      @dh_make_ruby.expects(:wnpp_check).returns('').once
-      assert_equal @dh_make_ruby.itp_bug, '#nnnn'
+    @dh_make_ruby = Gem2Deb::DhMakeRuby.new('ruby_foo-1.2.3.tar.gz', :do_wnpp_check => true)
+    @dh_make_ruby.expects(:wnpp_check).returns('').once
+    assert_equal @dh_make_ruby.itp_bug, '#nnnn'
   end
 
   should 'use ITP bug if it exists' do
-      @dh_make_ruby = Gem2Deb::DhMakeRuby.new('ruby_foo-1.2.3.tar.gz', :do_wnpp_check => true)
-      @dh_make_ruby.expects(:wnpp_check).returns('(ITP - #42) http://bugs.debian.org/42 ruby-foo').once
-      assert_equal @dh_make_ruby.itp_bug, '#42'
+    @dh_make_ruby = Gem2Deb::DhMakeRuby.new('ruby_foo-1.2.3.tar.gz', :do_wnpp_check => true)
+    @dh_make_ruby.expects(:wnpp_check).returns('(ITP - #42) http://bugs.debian.org/42 ruby-foo').once
+    assert_equal @dh_make_ruby.itp_bug, '#42'
   end
 
   context 'simple gem' do

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/gem2deb.git



More information about the Pkg-ruby-extras-commits mailing list