[Hiki-cvs 1629] hiki/hiki @ bb40b2e [master] remove unused variables

Back to archive index

SHIBATA Hiroshi null****@okkez*****
2014年 7月 13日 (日) 19:39:49 JST


SHIBATA Hiroshi	2014-07-13 19:39:49 +0900 (Sun, 13 Jul 2014)

  New Revision: bb40b2e75a99da2143ff6c77283ab36242278ca1
  https://github.com/hiki/hiki/commit/bb40b2e75a99da2143ff6c77283ab36242278ca1

  Message:
    remove unused variables

  Modified files:
    test/repos_hg_test.rb
    test/repos_svn_test.rb

  Modified: test/repos_hg_test.rb (+0 -2)
===================================================================
--- test/repos_hg_test.rb    2014-07-13 19:38:28 +0900 (cf12bf5)
+++ test/repos_hg_test.rb    2014-07-13 19:39:49 +0900 (abc6459)
@@ -35,7 +35,6 @@ class Repos_Hg_Tests < Test::Unit::TestCase
     write("FooBar", 'foobar')
     @repos.commit('FooBar')
     assert_equal('foobar', read('FooBar'))
-    file = nil
 
     write("FooBar", 'foobar new')
     @repos.commit('FooBar')
@@ -54,7 +53,6 @@ class Repos_Hg_Tests < Test::Unit::TestCase
   end
 
   def test_get_revision
-    rev1 = rev2 = rev3 = nil
     write("HogeHoge", 'hogehoge1')
     Dir.chdir(@text_dir) {hg("add", "HogeHoge")}
     Dir.chdir(@text_dir) {hg("commit", "-m", "First", "HogeHoge")}

  Modified: test/repos_svn_test.rb (+0 -1)
===================================================================
--- test/repos_svn_test.rb    2014-07-13 19:38:28 +0900 (48b14b3)
+++ test/repos_svn_test.rb    2014-07-13 19:39:49 +0900 (6f962e6)
@@ -31,7 +31,6 @@ class Repos_SVN_Tests < Test::Unit::TestCase
     write("FooBar", 'foobar')
     @repos.commit('FooBar')
     assert_equal('foobar', read('FooBar'))
-    file = nil
 
     write("FooBar", 'foobar new')
     @repos.commit('FooBar')




Hiki-cvs メーリングリストの案内
Back to archive index