mirror of
https://github.com/redmine/redmine.git
synced 2025-11-18 03:00:52 +01:00
Fix RuboCop offense Style/MethodCallWithoutArgsParentheses (#36919).
git-svn-id: https://svn.redmine.org/redmine/trunk@22075 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -174,7 +174,7 @@ class BazaarAdapterTest < ActiveSupport::TestCase
|
|||||||
end
|
end
|
||||||
|
|
||||||
def test_entry
|
def test_entry
|
||||||
entry = @adapter.entry()
|
entry = @adapter.entry
|
||||||
assert_equal "", entry.path
|
assert_equal "", entry.path
|
||||||
assert_equal "dir", entry.kind
|
assert_equal "dir", entry.kind
|
||||||
entry = @adapter.entry('')
|
entry = @adapter.entry('')
|
||||||
|
|||||||
@@ -610,7 +610,7 @@ class GitAdapterTest < ActiveSupport::TestCase
|
|||||||
end
|
end
|
||||||
|
|
||||||
def test_entry
|
def test_entry
|
||||||
entry = @adapter.entry()
|
entry = @adapter.entry
|
||||||
assert_equal "", entry.path
|
assert_equal "", entry.path
|
||||||
assert_equal "dir", entry.kind
|
assert_equal "dir", entry.kind
|
||||||
entry = @adapter.entry('')
|
entry = @adapter.entry('')
|
||||||
|
|||||||
@@ -279,7 +279,7 @@ class MercurialAdapterTest < ActiveSupport::TestCase
|
|||||||
end
|
end
|
||||||
|
|
||||||
def test_entry
|
def test_entry
|
||||||
entry = @adapter.entry()
|
entry = @adapter.entry
|
||||||
assert_equal "", entry.path
|
assert_equal "", entry.path
|
||||||
assert_equal "dir", entry.kind
|
assert_equal "dir", entry.kind
|
||||||
entry = @adapter.entry('')
|
entry = @adapter.entry('')
|
||||||
|
|||||||
Reference in New Issue
Block a user