Skip to content

Commit

Permalink
Auto-generated commit
Browse files Browse the repository at this point in the history
  • Loading branch information
stdlib-bot committed Sep 26, 2024
1 parent 3ddc42c commit 21711bf
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 14 deletions.
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@
<section class="release" id="unreleased">

## Unreleased (2024-09-21)
## Unreleased (2024-09-26)

<section class="commits">

### Commits

<details>

- [`f477e26`](https://github.com/stdlib-js/stdlib/commit/f477e26a03e5e365f2e7c4035959a2fb789698a3) - **chore:** move functions to parent scope _(by Philipp Burckhardt)_
- [`6e9f42e`](https://github.com/stdlib-js/stdlib/commit/6e9f42e4c912485d9896eaa16c88b70fd3688e97) - **docs:** harmonize list formatting in repl.txt and ensure starting newline _(by Philipp Burckhardt)_
- [`cadb613`](https://github.com/stdlib-js/stdlib/commit/cadb6131d6ce50338d11757e88e8a910a0367983) - **chore:** update argument documentation styling _(by Philipp Burckhardt)_

Expand Down Expand Up @@ -83,7 +84,7 @@ No changes reported for this release.
A total of 3 people contributed to this release. Thank you to the following contributors:

- Philipp Burckhardt
- Pranav
- Pranav Goswami
- Rutam

</section>
Expand Down
2 changes: 2 additions & 0 deletions CONTRIBUTORS
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Christopher Dambamuromo <[email protected]>
Dan Rose <[email protected]>
Daniel Killenberger <[email protected]>
Daniel Yu <[email protected]>
DebashisMaharana <[email protected]>
Dominik Moritz <[email protected]>
Dorrin Sotoudeh <[email protected]>
EuniceSim142 <[email protected]>
Expand Down Expand Up @@ -99,6 +100,7 @@ Xiaochuan Ye <[email protected]>
Yernar Yergaziyev <[email protected]>
naveen <[email protected]>
nishant-s7 <[email protected]>
olenkabilonizhka <[email protected]>
orimiles5 <[email protected]>
rainn <[email protected]>
rei2hu <[email protected]>
Expand Down
23 changes: 11 additions & 12 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,17 @@ var noop = require( '@stdlib/utils-noop' );
var someOwnBy = require( './../lib' );


// FUNCTIONS //

function isNegative( value ) {
return ( value < 0 );
}

function isPositive( value ) {
return ( value > 0 );
}


// TESTS //

tape( 'main export is a function', function test( t ) {
Expand Down Expand Up @@ -155,10 +166,6 @@ tape( 'the function returns `true` if an object contains at least `n` own proper
'd': -1
};

function isNegative( value ) {
return ( value < 0 );
}

bool = someOwnBy( obj, 2, isNegative );

t.strictEqual( bool, true, 'returns true' );
Expand All @@ -175,10 +182,6 @@ tape( 'the function returns `false` if an object does not contain at least `n` o
'c': -3
};

function isPositive( value ) {
return ( value > 0 );
}

bool = someOwnBy( obj, 1, isPositive );

t.strictEqual( bool, false, 'returns false' );
Expand All @@ -195,10 +198,6 @@ tape( 'the function returns `false` if an object does not contain at least `n` o
'c': -3.0
};

function isPositive( value ) {
return ( value > 0 );
}

bool = someOwnBy( obj, 4, isPositive );

t.strictEqual( bool, false, 'returns false' );
Expand Down

0 comments on commit 21711bf

Please sign in to comment.