Skip to content

Commit 303bf2b

Browse files
authored
Fix lossless_cast test on WASM (#8949)
* Flush seed to stdout before running lossless_cast * Use std::endl instead
1 parent 1877f41 commit 303bf2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/correctness/lossless_cast.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ int fuzz_test(uint32_t root_seed) {
437437
std::cout << "Fuzz testing with root seed " << root_seed << "\n";
438438
for (int i = 0; i < 1000; i++) {
439439
auto s = seed_generator();
440-
std::cout << s << "\n";
440+
std::cout << s << std::endl;
441441
if (test_one(s)) {
442442
return 1;
443443
}

0 commit comments

Comments
 (0)