| 302 | |
| 303 | |
| 304 | Future<Nothing> after(std::atomic_bool* executed, const Future<Nothing>& future) |
| 305 | { |
| 306 | EXPECT_TRUE(future.hasDiscard()); |
| 307 | executed->store(true); |
| 308 | return Failure("Failure"); |
| 309 | } |
| 310 | |
| 311 | |
| 312 | // Checks that the 'after' callback gets executed if the future is not |
no test coverage detected