@@ -95,7 +95,7 @@ def test_v2_space
9595 { name : "Tomato B" , conversions_v2 : { "tomato juice" => 2 } } ,
9696 { name : "Tomato C" , conversions_v2 : { "tomato juice" => 3 } }
9797 ]
98- assert_order "tomato" , [ "Tomato C" , "Tomato B" , "Tomato A" ] , conversions_v2 : true , conversions_term : "tomato juice"
98+ assert_order "tomato" , [ "Tomato C" , "Tomato B" , "Tomato A" ] , conversions_v2 : { term : "tomato juice" }
9999 end
100100
101101 def test_v2_dot
@@ -104,7 +104,7 @@ def test_v2_dot
104104 { name : "Tomato B" , conversions_v2 : { "tomato.juice" => 2 } } ,
105105 { name : "Tomato C" , conversions_v2 : { "tomato.juice" => 3 } }
106106 ]
107- assert_order "tomato" , [ "Tomato C" , "Tomato B" , "Tomato A" ] , conversions_v2 : true , conversions_term : "tomato.juice"
107+ assert_order "tomato" , [ "Tomato C" , "Tomato B" , "Tomato A" ] , conversions_v2 : { term : "tomato.juice" }
108108 end
109109
110110 def test_v2_unicode
@@ -113,7 +113,7 @@ def test_v2_unicode
113113 { name : "Tomato B" , conversions_v2 : { "喰らう" => 2 } } ,
114114 { name : "Tomato C" , conversions_v2 : { "喰らう" => 3 } }
115115 ]
116- assert_order "tomato" , [ "Tomato C" , "Tomato B" , "Tomato A" ] , conversions_v2 : true , conversions_term : "喰らう"
116+ assert_order "tomato" , [ "Tomato C" , "Tomato B" , "Tomato A" ] , conversions_v2 : { term : "喰らう" }
117117 end
118118
119119 def test_v2_score
0 commit comments