Skip to content

Commit 14de982

Browse files
committed
Auto-generated commit
1 parent bfbd5fa commit 14de982

File tree

6 files changed

+14
-9
lines changed

6 files changed

+14
-9
lines changed

.github/.keepalive

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2025-09-01T00:40:48.473Z

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,16 @@
44
55
<section class="release" id="unreleased">
66

7-
## Unreleased (2025-08-12)
7+
## Unreleased (2025-09-01)
88

99
<section class="commits">
1010

1111
### Commits
1212

1313
<details>
1414

15+
- [`bef0f69`](https://github.com/stdlib-js/stdlib/commit/bef0f69a3c1007126ef264c4148c41497079eaad) - **docs:** re-order requires _(by Philipp Burckhardt)_
16+
- [`7add020`](https://github.com/stdlib-js/stdlib/commit/7add0201c13e56a0381926ccfd4073c84eaf2ed4) - **test:** use standardized assertion messages and fix lint errors _(by Philipp Burckhardt)_
1517
- [`77867ac`](https://github.com/stdlib-js/stdlib/commit/77867ac1767a186023f633dea30ddf860962aaed) - **docs:** remove trailing whitespace _(by Philipp Burckhardt)_
1618

1719
</details>

CONTRIBUTORS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ Ruthwik Chikoti <145591715+ruthwikchikoti@users.noreply.github.com>
166166
Ryan Seal <splrk@users.noreply.github.com>
167167
Rylan Yang <137365285+rylany27@users.noreply.github.com>
168168
SAHIL KUMAR <168997976+sahilk45@users.noreply.github.com>
169+
SAUJANYA MAGARDE <162047941+SaujanyaMagarde@users.noreply.github.com>
169170
SHIVAM YADAV <120725381+Shivam-1827@users.noreply.github.com>
170171
Sachin Raj <120590207+schnrj@users.noreply.github.com>
171172
Sahil Goyal <87982509+sahil20021008@users.noreply.github.com>
@@ -188,6 +189,7 @@ Sivam Das <100067002+Sivam2313@users.noreply.github.com>
188189
Snehil Shah <snehilshah.989@gmail.com>
189190
Soumajit Chatterjee <121816890+soumajit23@users.noreply.github.com>
190191
Spandan Barve <contact@marsian.dev>
192+
Srinivas Batthula <srinivasbatthula05.official@gmail.com>
191193
Stephannie Jiménez Gacha <steff456@hotmail.com>
192194
Suhaib Ilahi <suhaib.elahi87@gmail.com>
193195
Suraj Kumar <125961509+kumarsuraj212003@users.noreply.github.com>

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
* @module @stdlib/utils-shift
2525
*
2626
* @example
27-
* var shift = require( '@stdlib/utils-shift' );
2827
* var Float64Array = require( '@stdlib/array-float64' );
28+
* var shift = require( '@stdlib/utils-shift' );
2929
*
3030
* var arr = [ 1.0, 2.0, 3.0, 4.0, 5.0 ];
3131
*

test/test.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -77,12 +77,12 @@ tape( 'the function returns a two-element array', function test( t ) {
7777

7878
arr = [ 1.0, 2.0, 3.0 ];
7979
out = shift( arr );
80-
t.strictEqual( isArray( out ), true, 'returns an array' );
80+
t.strictEqual( isArray( out ), true, 'returns expected value' );
8181
t.strictEqual( out.length, 2, 'output array has length 2' );
8282

8383
arr = new Float32Array( [ 1.0, 2.0, 3.0 ] );
8484
out = shift( arr );
85-
t.strictEqual( isArray( out ), true, 'returns an array' );
85+
t.strictEqual( isArray( out ), true, 'returns expected value' );
8686
t.strictEqual( out.length, 2, 'output array has length 2' );
8787

8888
arr = {
@@ -92,7 +92,7 @@ tape( 'the function returns a two-element array', function test( t ) {
9292
'2': 3.0
9393
};
9494
out = shift( arr );
95-
t.strictEqual( isArray( out ), true, 'returns an array' );
95+
t.strictEqual( isArray( out ), true, 'returns expected value' );
9696
t.strictEqual( out.length, 2, 'output array has length 2' );
9797

9898
t.end();
@@ -104,21 +104,21 @@ tape( 'if provided an empty collection, the element value is `undefined`', funct
104104

105105
arr = [];
106106
out = shift( arr );
107-
t.strictEqual( isArray( out ), true, 'returns an array' );
107+
t.strictEqual( isArray( out ), true, 'returns expected value' );
108108
t.strictEqual( out.length, 2, 'output array has length 2' );
109109
t.strictEqual( out[ 1 ], void 0, 'element is `undefined`' );
110110

111111
arr = new Float32Array();
112112
out = shift( arr );
113-
t.strictEqual( isArray( out ), true, 'returns an array' );
113+
t.strictEqual( isArray( out ), true, 'returns expected value' );
114114
t.strictEqual( out.length, 2, 'output array has length 2' );
115115
t.strictEqual( out[ 1 ], void 0, 'element is `undefined`' );
116116

117117
arr = {
118118
'length': 0
119119
};
120120
out = shift( arr );
121-
t.strictEqual( isArray( out ), true, 'returns an array' );
121+
t.strictEqual( isArray( out ), true, 'returns expected value' );
122122
t.strictEqual( out.length, 2, 'output array has length 2' );
123123
t.strictEqual( out[ 1 ], void 0, 'element is `undefined`' );
124124

0 commit comments

Comments
 (0)