@@ -89,7 +89,12 @@ fn typedarray() {
8989 assert_eq ! ( view. unwrap( ) . is_shared( ) , false ) ;
9090
9191 rooted ! ( in( context) let mut rval = ptr:: null_mut:: <JSObject >( ) ) ;
92- assert ! ( Float32Array :: create( context, CreateWith :: Slice ( & [ 0.25 , 0.5 , 1.0 , 2.0 , 4.0 ] ) , rval. handle_mut( ) ) . is_ok( ) ) ;
92+ assert ! ( Float32Array :: create(
93+ context,
94+ CreateWith :: Slice ( & [ 0.25 , 0.5 , 1.0 , 2.0 , 4.0 ] ) ,
95+ rval. handle_mut( )
96+ )
97+ . is_ok( ) ) ;
9398
9499 typedarray ! ( in( context) let array: Float32Array = rval. get( ) ) ;
95100 assert_eq ! ( array. unwrap( ) . as_slice( ) , & [ 0.25 , 0.5 , 1.0 , 2.0 , 4.0 ] ) ;
@@ -99,7 +104,12 @@ fn typedarray() {
99104 assert_eq ! ( array. unwrap( ) . as_slice( ) , & [ 0.5 , 1.0 , 2.0 , 2.0 , 4.0 ] ) ;
100105
101106 rooted ! ( in( context) let mut rval = ptr:: null_mut:: <JSObject >( ) ) ;
102- assert ! ( BigInt64Array :: create( context, CreateWith :: Slice ( & [ -6 , -1 , 0 , 2 , 5 ] ) , rval. handle_mut( ) ) . is_ok( ) ) ;
107+ assert ! ( BigInt64Array :: create(
108+ context,
109+ CreateWith :: Slice ( & [ -6 , -1 , 0 , 2 , 5 ] ) ,
110+ rval. handle_mut( )
111+ )
112+ . is_ok( ) ) ;
103113
104114 typedarray ! ( in( context) let array: BigInt64Array = rval. get( ) ) ;
105115 assert_eq ! ( array. unwrap( ) . as_slice( ) , & [ -6 , -1 , 0 , 2 , 5 ] ) ;
0 commit comments