@@ -133,7 +133,8 @@ public static function provide_invalid_diff(): array {
133
133
['The first argument of diff() must be a list. ' , 'diff("", ""); ' ],
134
134
['The second argument of diff() must be a list. ' , 'diff([1,2,3], 1); ' ],
135
135
['diff() expects two lists of the same size. ' , 'diff([1,2,3], [1,2]); ' ],
136
- ['When using diff(), the first list must contain only numbers or only strings. ' , 'diff([[1,2]], [1]); ' ],
136
+ ['When using diff(), the first list must contain only numbers or only strings. ' , 'diff([[1,2]], [[1,2]]); ' ],
137
+ ['diff(): type mismatch for element #0 (zero-indexed) of the second list. ' , 'diff([[1,2]], [1]); ' ],
137
138
['diff(): type mismatch for element #1 (zero-indexed) of the first list. ' , 'diff([1,"a"], [1,2]); ' ],
138
139
['diff(): type mismatch for element #1 (zero-indexed) of the first list. ' , 'diff(["a",1], ["a","b"]); ' ],
139
140
['diff(): type mismatch for element #0 (zero-indexed) of the second list. ' , 'diff([1,2], ["a",2]); ' ],
0 commit comments