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 Oct 18, 2022
1 parent 0f85aee commit 1de4c1c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/npm_downloads.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ on:
# Run this workflow weekly:
schedule:
# cron: '<minutes> <hours> <day_of_month> <month> <day_of_week>'
- cron: '0 8 * * 6'
- cron: '10 10 * * 4'

# Allow the workflow to be manually run:
workflow_dispatch:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ on:
# Run workflow on a weekly schedule:
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '30 1 * * 6'
- cron: '10 10 * * 4'

# Allow the workflow to be manually run:
workflow_dispatch:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ on:
# Run workflow on a weekly schedule:
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '30 1 * * 6'
- cron: '10 10 * * 4'

# Run workflow upon completion of `publish` workflow run:
workflow_run:
Expand Down
4 changes: 2 additions & 2 deletions remove-utf8-bom/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
// MODULES //

var tape = require( 'tape' );
var Buffer = require( '@stdlib/buffer/ctor' );
var string2buffer = require( '@stdlib/buffer/from-string' );
var removeUTF8BOM = require( './../lib' );


Expand Down Expand Up @@ -66,7 +66,7 @@ tape( 'the function removes a UTF-8 byte order mark (BOM) from the beginning of
str = removeUTF8BOM( '\ufeffbeep' );
t.equal( str, 'beep', 'returns beep' );

str = (new Buffer( '\ufeffboop' )).toString();
str = string2buffer( '\ufeffboop' ).toString();
str = removeUTF8BOM( str );
t.equal( str, 'boop', 'returns boop' );

Expand Down

0 comments on commit 1de4c1c

Please sign in to comment.