| 119 | } |
| 120 | |
| 121 | void test_async() |
| 122 | { |
| 123 | try |
| 124 | { |
| 125 | async::spawn( [] { |
| 126 | throw std::runtime_error( "Some async error" ); |
| 127 | return 42; |
| 128 | } ) |
| 129 | .then( []( int t ) { |
| 130 | DEBUG( t ); |
| 131 | } ) |
| 132 | .get(); |
| 133 | exit( 1 ); |
| 134 | } |
| 135 | catch( ... ) |
| 136 | { |
| 137 | geode::geode_lippincott(); |
| 138 | } |
| 139 | } |
| 140 | |
| 141 | void test_exception() |
| 142 | { |
no test coverage detected