@@ -292,7 +292,7 @@ fn test_predicate() {
292292 op : BinaryOperator :: Prefix ,
293293 } ;
294294
295- assert_eq ! ( p. execute( & mut ctx, & mut mat) , false ) ;
295+ assert ! ( ! p. execute( & mut ctx, & mut mat) ) ;
296296
297297 // check if any value matches starts_with foo -- should be false
298298 let p = Predicate {
@@ -304,7 +304,7 @@ fn test_predicate() {
304304 op : BinaryOperator :: Prefix ,
305305 } ;
306306
307- assert_eq ! ( p. execute( & mut ctx, & mut mat) , false ) ;
307+ assert ! ( ! p. execute( & mut ctx, & mut mat) ) ;
308308
309309 // test any mode
310310 let lhs_values = vec ! [
@@ -328,7 +328,7 @@ fn test_predicate() {
328328 op : BinaryOperator :: Prefix ,
329329 } ;
330330
331- assert_eq ! ( p. execute( & mut ctx, & mut mat) , true ) ;
331+ assert ! ( p. execute( & mut ctx, & mut mat) ) ;
332332
333333 // check if all values match ends_with foo -- should be false
334334 let p = Predicate {
@@ -340,7 +340,7 @@ fn test_predicate() {
340340 op : BinaryOperator :: Postfix ,
341341 } ;
342342
343- assert_eq ! ( p. execute( & mut ctx, & mut mat) , false ) ;
343+ assert ! ( ! p. execute( & mut ctx, & mut mat) ) ;
344344
345345 // check if any value matches ends_with foo -- should be true
346346 let p = Predicate {
@@ -352,7 +352,7 @@ fn test_predicate() {
352352 op : BinaryOperator :: Postfix ,
353353 } ;
354354
355- assert_eq ! ( p. execute( & mut ctx, & mut mat) , true ) ;
355+ assert ! ( p. execute( & mut ctx, & mut mat) ) ;
356356
357357 // check if any value matches starts_with foo -- should be true
358358 let p = Predicate {
@@ -364,7 +364,7 @@ fn test_predicate() {
364364 op : BinaryOperator :: Prefix ,
365365 } ;
366366
367- assert_eq ! ( p. execute( & mut ctx, & mut mat) , true ) ;
367+ assert ! ( p. execute( & mut ctx, & mut mat) ) ;
368368
369369 // check if any value matches ends_with nar -- should be false
370370 let p = Predicate {
@@ -376,7 +376,7 @@ fn test_predicate() {
376376 op : BinaryOperator :: Postfix ,
377377 } ;
378378
379- assert_eq ! ( p. execute( & mut ctx, & mut mat) , false ) ;
379+ assert ! ( ! p. execute( & mut ctx, & mut mat) ) ;
380380
381381 // check if any value matches ends_with empty string -- should be true
382382 let p = Predicate {
@@ -388,7 +388,7 @@ fn test_predicate() {
388388 op : BinaryOperator :: Postfix ,
389389 } ;
390390
391- assert_eq ! ( p. execute( & mut ctx, & mut mat) , true ) ;
391+ assert ! ( p. execute( & mut ctx, & mut mat) ) ;
392392
393393 // check if any value matches starts_with empty string -- should be true
394394 let p = Predicate {
@@ -400,7 +400,7 @@ fn test_predicate() {
400400 op : BinaryOperator :: Prefix ,
401401 } ;
402402
403- assert_eq ! ( p. execute( & mut ctx, & mut mat) , true ) ;
403+ assert ! ( p. execute( & mut ctx, & mut mat) ) ;
404404
405405 // check if any value matches contains `ob` -- should be true
406406 let p = Predicate {
@@ -412,7 +412,7 @@ fn test_predicate() {
412412 op : BinaryOperator :: Contains ,
413413 } ;
414414
415- assert_eq ! ( p. execute( & mut ctx, & mut mat) , true ) ;
415+ assert ! ( p. execute( & mut ctx, & mut mat) ) ;
416416
417417 // check if any value matches contains `ok` -- should be false
418418 let p = Predicate {
@@ -424,5 +424,5 @@ fn test_predicate() {
424424 op : BinaryOperator :: Contains ,
425425 } ;
426426
427- assert_eq ! ( p. execute( & mut ctx, & mut mat) , false ) ;
427+ assert ! ( ! p. execute( & mut ctx, & mut mat) ) ;
428428}
0 commit comments