diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2017-06-06 02:12:24 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2017-06-06 02:12:24 +0000 |
commit | c02c9ac1f7f7a22845017c5a35444f4b36d63cdb (patch) | |
tree | fb22d90e284fb39e716c9a6e19f45e7ead507389 /test/unit/project_nested_set_test.rb | |
parent | 8c03f2a6db22600ea650a516a047a3902917dc01 (diff) | |
download | redmine-c02c9ac1f7f7a22845017c5a35444f4b36d63cdb.tar.gz redmine-c02c9ac1f7f7a22845017c5a35444f4b36d63cdb.zip |
remove trailing white space from test/unit/project_nested_set_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@16610 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/project_nested_set_test.rb')
-rw-r--r-- | test/unit/project_nested_set_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/project_nested_set_test.rb b/test/unit/project_nested_set_test.rb index 6c856f773..705d5ea8f 100644 --- a/test/unit/project_nested_set_test.rb +++ b/test/unit/project_nested_set_test.rb @@ -166,7 +166,7 @@ class ProjectNestedSetTest < ActiveSupport::TestCase assert project.rgt < project.parent.rgt, "rgt=#{project.rgt} was not < parent.rgt=#{project.parent.rgt} for project #{project.name}" end # no overlapping lft/rgt values - overlapping = projects.detect {|other| + overlapping = projects.detect {|other| other != project && ( (other.lft > project.lft && other.lft < project.rgt && other.rgt > project.rgt) || (other.rgt > project.lft && other.rgt < project.rgt && other.lft < project.lft) |