Skip to content

Commit 328ba9d

Browse files
committed
test: use hasSameValues method to test in array/fixed-endian-factory
1 parent da97081 commit 328ba9d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/node_modules/@stdlib/array/fixed-endian-factory/test/test.to_reversed.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ var tape = require( 'tape' );
2424
var hasOwnProp = require( '@stdlib/assert/has-own-property' );
2525
var isFunction = require( '@stdlib/assert/is-function' );
2626
var instanceOf = require( '@stdlib/assert/instance-of' );
27+
var hasSameValues = require( '@stdlib/array/base/assert/has-same-values' );
2728
var factory = require( './../lib' );
2829

2930

@@ -101,7 +102,7 @@ tape( 'the method returns a new typed array containing elements in reverse order
101102

102103
t.strictEqual( instanceOf( out, ctor ), true, 'returns expected value' );
103104
t.notEqual( out, arr, 'returns a new instance' );
104-
t.deepEqual( out, expected, 'returns expected value' );
105+
t.strictEqual( hasSameValues( out, expected ), true, 'returns expected value' );
105106
t.strictEqual( out.length, expected.length, 'returns expected value' );
106107
t.end();
107108
});

0 commit comments

Comments
 (0)