Skip to content

Commit

Permalink
fix unit test, #428
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Kauzmann <[email protected]>
  • Loading branch information
zepumph committed Apr 2, 2024
1 parent 9801600 commit b656fbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/ValidationTests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<unknown>( new Vector2( 0, 0 ), new Vector2( 0, 0 ), ( a, b ) => a === b ) );
assert.ok( !Validation.equalsForValidationStrategy<unknown>( new Vector2( 0, 0 ), new Vector2( 0, 0 ), ( a, b ) => a === b ) );
} );

0 comments on commit b656fbd

Please sign in to comment.