Commit cf7b0aec authored by marutosijp's avatar marutosijp
Browse files

remove trailing white space from test/unit/project_nested_set_test.rb

git-svn-id: https://svn.redmine.org/redmine/trunk@16610 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 80418b62
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment