From c02c9ac1f7f7a22845017c5a35444f4b36d63cdb Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Tue, 6 Jun 2017 02:12:24 +0000 Subject: [PATCH] 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 --- test/unit/project_nested_set_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.5