Skip to content

Commit 82e6932

Browse files
committed
test: fix test description and function invocations
1 parent 1b94b32 commit 82e6932

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • lib/node_modules/@stdlib/ndarray/flags/test

lib/node_modules/@stdlib/ndarray/flags/test/test.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ tape( 'the function returns the flags of an ndarray', function test( t ) {
8484
];
8585

8686
for ( i = 0; i < values.length; i++ ) {
87-
out = flags( values[ i ], false );
87+
out = flags( values[ i ] );
8888
t.deepEqual( out, expected[ i ], 'returns expected value for array '+i );
8989
}
9090
t.end();
@@ -153,13 +153,13 @@ tape( 'the function accepts minimal ndarray-like objects', function test( t ) {
153153
];
154154

155155
for ( i = 0; i < values.length; i++ ) {
156-
out = flags( values[ i ], false );
156+
out = flags( values[ i ] );
157157
t.deepEqual( out, expected[ i ], 'returns expected value for array '+i );
158158
}
159159
t.end();
160160
});
161161

162-
tape( 'the function supports returning a guaranteed copy of an input ndarray flags', function test( t ) {
162+
tape( 'the function always returns a copy of an input ndarray\'s flags', function test( t ) {
163163
var expected;
164164
var values;
165165
var out;
@@ -212,7 +212,7 @@ tape( 'the function supports returning a guaranteed copy of an input ndarray fla
212212
];
213213

214214
for ( i = 0; i < values.length; i++ ) {
215-
out = flags( values[ i ], true );
215+
out = flags( values[ i ] );
216216
t.notEqual( out, values[ i ].flags, 'returns expected value' );
217217
t.deepEqual( out, expected[ i ], 'returns expected value for array '+i );
218218
}

0 commit comments

Comments
 (0)