@@ -449,33 +449,6 @@ module({
449
449
assert . equal ( 'ABCD' , e ) ;
450
450
} ) ;
451
451
452
- test ( "can pass Uint8Array to std::basic_string<unsigned char>" , function ( ) {
453
- var e = cm . emval_test_take_and_return_std_basic_string_unsigned_char ( new Uint8Array ( [ 65 , 66 , 67 , 68 ] ) ) ;
454
- assert . equal ( 'ABCD' , e ) ;
455
- } ) ;
456
-
457
- test ( "can pass long string to std::basic_string<unsigned char>" , function ( ) {
458
- var s = 'this string is long enough to exceed the short string optimization' ;
459
- var e = cm . emval_test_take_and_return_std_basic_string_unsigned_char ( s ) ;
460
- assert . equal ( s , e ) ;
461
- } ) ;
462
-
463
- test ( "can pass Uint8ClampedArray to std::basic_string<unsigned char>" , function ( ) {
464
- var e = cm . emval_test_take_and_return_std_basic_string_unsigned_char ( new Uint8ClampedArray ( [ 65 , 66 , 67 , 68 ] ) ) ;
465
- assert . equal ( 'ABCD' , e ) ;
466
- } ) ;
467
-
468
-
469
- test ( "can pass Int8Array to std::basic_string<unsigned char>" , function ( ) {
470
- var e = cm . emval_test_take_and_return_std_basic_string_unsigned_char ( new Int8Array ( [ 65 , 66 , 67 , 68 ] ) ) ;
471
- assert . equal ( 'ABCD' , e ) ;
472
- } ) ;
473
-
474
- test ( "can pass ArrayBuffer to std::basic_string<unsigned char>" , function ( ) {
475
- var e = cm . emval_test_take_and_return_std_basic_string_unsigned_char ( ( new Int8Array ( [ 65 , 66 , 67 , 68 ] ) ) . buffer ) ;
476
- assert . equal ( 'ABCD' , e ) ;
477
- } ) ;
478
-
479
452
test ( "can pass string to std::string" , function ( ) {
480
453
var string = stdStringIsUTF8 ?"aeiáéíαειЖЛФ從獅子€" :"ABCD" ;
481
454
0 commit comments