Skip to content

Commit

Permalink
[UPDATE] add clamped array test case.
Browse files Browse the repository at this point in the history
  • Loading branch information
kgryte committed May 27, 2015
1 parent 32b5b52 commit 71be988
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Expand Up @@ -43,6 +43,9 @@ console.log( isInt8Array( new Int8Array( 10 ) ) );
console.log( isInt8Array( new Uint8Array( 10 ) ) );
// returns false

console.log( isInt8Array( new Uint8ClampedArray( 10 ) ) );
// returns false

console.log( isInt8Array( new Int16Array( 10 ) ) );
// returns false

Expand Down
3 changes: 3 additions & 0 deletions examples/index.js
Expand Up @@ -8,6 +8,9 @@ console.log( isInt8Array( new Int8Array( 10 ) ) );
console.log( isInt8Array( new Uint8Array( 10 ) ) );
// returns false

console.log( isInt8Array( new Uint8ClampedArray( 10 ) ) );
// returns false

console.log( isInt8Array( new Int16Array( 10 ) ) );
// returns false

Expand Down
1 change: 1 addition & 0 deletions test/test.js
Expand Up @@ -42,6 +42,7 @@ describe( 'validate.io-int8array', function tests() {
{},
function(){},
new Uint8Array( 10 ),
new Uint8ClampedArray( 10 ),
new Int16Array( 10 ),
new Uint16Array( 10 ),
new Int32Array( 10 ),
Expand Down

0 comments on commit 71be988

Please sign in to comment.