#![ cfg( target_arch = "wasm32" )]
use
{
wasm_bindgen_test :: { * } ,
async_runtime :: { * } ,
};
wasm_bindgen_test_configure!(run_in_browser);
#[wasm_bindgen_test]
fn double_init()
{
rt::init( RtConfig::Local ).expect( "no double executor init" );
let result = rt::init( RtConfig::Local );
assert_eq!( &RtErrKind::DoubleExecutorInit, result.unwrap_err().kind() );
}