diff --git a/js/ValidationTests.ts b/js/ValidationTests.ts index 4f90914f..1e0cd305 100644 --- a/js/ValidationTests.ts +++ b/js/ValidationTests.ts @@ -364,5 +364,5 @@ QUnit.test( 'Validator.valueComparisonStrategy', assert => { validators: [ { validValues: [ new Vector2( 1, 1 ), new Vector2( 2, 0 ) ], valueComparisonStrategy: ( a, b ) => a.x === b.x } ] } ) ); - assert.ok( Validation.equalsForValidationStrategy( new Vector2( 0, 0 ), new Vector2( 0, 0 ), ( a, b ) => a === b ) ); + assert.ok( !Validation.equalsForValidationStrategy( new Vector2( 0, 0 ), new Vector2( 0, 0 ), ( a, b ) => a === b ) ); } ); \ No newline at end of file