Skip to content

Commit

Permalink
Merge branch 'develop' of https://github.com/stdlib-js/stdlib into de…
Browse files Browse the repository at this point in the history
…velop
  • Loading branch information
Planeshifter committed Jul 19, 2023
2 parents 1147e6a + 3fbd1f9 commit b525b4f
Show file tree
Hide file tree
Showing 8 changed files with 27 additions and 26 deletions.
10 changes: 5 additions & 5 deletions lib/node_modules/@stdlib/string/base/dotcase/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ tape( 'the function converts a string to dot case', function test( t ) {
];

for ( i = 0; i < values.length; i++ ) {
t.strictEqual( dotcase( values[i] ), expected[i], 'returns '+expected[i] );
t.strictEqual( dotcase( values[i] ), expected[i], 'returns expected value' );
}
t.end();
});
Expand All @@ -89,7 +89,7 @@ tape( 'the function converts a string to dot case', function test( t ) {
];

for ( i = 0; i < values.length; i++ ) {
t.strictEqual( dotcase( values[i] ), expected[i], 'returns expected value.' );
t.strictEqual( dotcase( values[i] ), expected[i], 'returns expected value' );
}
t.end();
});
Expand Down Expand Up @@ -122,7 +122,7 @@ tape( 'the function converts a string with Unicode characters to dot case', func
];

for ( i = 0; i < values.length; i++ ) {
t.strictEqual( dotcase( values[i] ), expected[i], 'returns expected value.' );
t.strictEqual( dotcase( values[i] ), expected[i], 'returns expected value' );
}
t.end();
});
Expand Down Expand Up @@ -188,7 +188,7 @@ tape( 'the function converts a string with special characters to dot case', func
];

for ( i = 0; i < values.length; i++ ) {
t.strictEqual( dotcase( values[i] ), expected[i], 'returns '+expected[i] );
t.strictEqual( dotcase( values[i] ), expected[i], 'returns expected value' );
}
t.end();
});
Expand All @@ -213,7 +213,7 @@ tape( 'the function leaves a string that is already in dot case unchanged', func
];

for ( i = 0; i < values.length; i++ ) {
t.strictEqual( dotcase( values[i] ), expected[i], 'returns expected value.' );
t.strictEqual( dotcase( values[i] ), expected[i], 'returns expected value' );
}
t.end();
});
4 changes: 2 additions & 2 deletions lib/node_modules/@stdlib/string/base/headercase/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ limitations under the License.

# headercase

> Convert a string to Header case.
> Convert a string to HTTP header case.
<!-- Package usage documentation. -->

Expand All @@ -34,7 +34,7 @@ var headercase = require( '@stdlib/string/base/headercase' );

#### headercase( str )

Converts a string to Header case.
Converts a string to HTTP header case.

```javascript
var out = headercase( 'foo bar' );
Expand Down
4 changes: 2 additions & 2 deletions lib/node_modules/@stdlib/string/base/headercase/docs/repl.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

{{alias}}( str )
Converts a string to Header case.
Converts a string to HTTP header case.

Parameters
----------
Expand All @@ -10,7 +10,7 @@
Returns
-------
out: string
Header-cased string.
HTTP header-cased string.

Examples
--------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
// TypeScript Version: 2.0

/**
* Converts a string to Header case.
* Converts a string to HTTP header case.
*
* @param str - string to convert
* @returns Header-cased string
* @returns HTTP header-cased string
*
* @example
* var str = headercase( 'Hello World!' );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
'use strict';

/**
* Convert a string to Header case.
* Convert a string to HTTP header case.
*
* @module @stdlib/string/base/headercase
*
Expand Down
4 changes: 2 additions & 2 deletions lib/node_modules/@stdlib/string/base/headercase/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ var RE_CAMEL = /([a-z0-9])([A-Z])/g;
// MAIN //

/**
* Converts a string to Header case.
* Converts a string to HTTP header case.
*
* @param {string} str - string to convert
* @returns {string} Header-cased string
* @returns {string} HTTP header-cased string
*
* @example
* var out = headercase( 'foo bar' );
Expand Down
5 changes: 3 additions & 2 deletions lib/node_modules/@stdlib/string/base/headercase/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@stdlib/string/base/headercase",
"version": "0.0.0",
"description": "Convert a string to Header case.",
"description": "Convert a string to HTTP header case.",
"license": "Apache-2.0",
"author": {
"name": "The Stdlib Authors",
Expand Down Expand Up @@ -61,7 +61,8 @@
"case",
"convert",
"headercase",
"header"
"header",
"http"
],
"__stdlib__": {}
}
20 changes: 10 additions & 10 deletions lib/node_modules/@stdlib/string/base/headercase/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ tape( 'main export is a function', function test( t ) {
t.end();
});

tape( 'the function converts a string to header case', function test( t ) {
tape( 'the function converts a string to HTTP header case', function test( t ) {
var expected;
var values;
var i;
Expand Down Expand Up @@ -68,12 +68,12 @@ tape( 'the function converts a string to header case', function test( t ) {
];

for ( i = 0; i < values.length; i++ ) {
t.strictEqual( headercase( values[i] ), expected[i], 'returns '+expected[i] );
t.strictEqual( headercase( values[i] ), expected[i], 'returns expected value' );
}
t.end();
});

tape( 'the function converts a string to header case', function test( t ) {
tape( 'the function converts a string to HTTP header case', function test( t ) {
var expected;
var values;
var i;
Expand All @@ -93,12 +93,12 @@ tape( 'the function converts a string to header case', function test( t ) {
];

for ( i = 0; i < values.length; i++ ) {
t.strictEqual( headercase( values[i] ), expected[i], 'returns expected value.' );
t.strictEqual( headercase( values[i] ), expected[i], 'returns expected value' );
}
t.end();
});

tape( 'the function converts a string with Unicode characters to header case', function test( t ) {
tape( 'the function converts a string with Unicode characters to HTTP header case', function test( t ) {
var expected;
var values;
var i;
Expand Down Expand Up @@ -126,12 +126,12 @@ tape( 'the function converts a string with Unicode characters to header case', f
];

for ( i = 0; i < values.length; i++ ) {
t.strictEqual( headercase( values[i] ), expected[i], 'returns expected value.' );
t.strictEqual( headercase( values[i] ), expected[i], 'returns expected value' );
}
t.end();
});

tape( 'the function converts a string with special characters to header case', function test( t ) {
tape( 'the function converts a string with special characters to HTTP header case', function test( t ) {
var expected;
var values;
var i;
Expand Down Expand Up @@ -192,12 +192,12 @@ tape( 'the function converts a string with special characters to header case', f
];

for ( i = 0; i < values.length; i++ ) {
t.strictEqual( headercase( values[i] ), expected[i], 'returns '+expected[i] );
t.strictEqual( headercase( values[i] ), expected[i], 'returns expected value' );
}
t.end();
});

tape( 'the function leaves a string that is already in header case unchanged', function test( t ) {
tape( 'the function leaves a string that is already in HTTP header case unchanged', function test( t ) {
var expected;
var values;
var i;
Expand All @@ -217,7 +217,7 @@ tape( 'the function leaves a string that is already in header case unchanged', f
];

for ( i = 0; i < values.length; i++ ) {
t.strictEqual( headercase( values[i] ), expected[i], 'returns expected value.' );
t.strictEqual( headercase( values[i] ), expected[i], 'returns expected value' );
}
t.end();
});

0 comments on commit b525b4f

Please sign in to comment.