Navigation Menu

Skip to content

Commit

Permalink
test: fold long lines
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Jun 12, 2018
1 parent 9f9ab82 commit 2f28cfd
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions test/test-response-comparer.rb
Expand Up @@ -308,9 +308,23 @@ def test_different_order

class CareDifferencesInAccuracyOfPosition < self
def test_different_accurancy_of_postion
assert_true(same?([[[1], [["_id", "UInt32"], ["location", "float"]], [1, 139.763570507358]]],
[[[1], [["_id", "UInt32"], ["location", "float"]], [1, 139.7635705073576]]],
:care_order => false))
response1 = [
[
[1],
[["_id", "UInt32"], ["location", "float"]],
[1, 139.763570507358],
]
]
response2 = [
[
[1],
[["_id", "UInt32"], ["location", "float"]],
[1, 139.7635705073576],
],
]
assert do
same?(response1, response2, :care_order => false)
end
end
end

Expand Down

0 comments on commit 2f28cfd

Please sign in to comment.