Skip to content

Commit

Permalink
ci: fix Windows build after PR 2760
Browse files Browse the repository at this point in the history
  • Loading branch information
canepat committed Mar 6, 2025
1 parent 8f9b159 commit 1d20082
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion silkworm/db/snapshot_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@ TEST_CASE("Snapshot::for_each_item", "[silkworm][node][snapshot][snapshot]") {
seg::Decompressor decoder{hello_world_snapshot_file.fs_path()};
auto it = decoder.begin();
auto& word = *it;
CHECK(byte_view_to_string_view(word) == "hello, world");
// Using byte_view_to_string_view causes unresolved linker error on Windows build
// https://github.com/catchorg/Catch2/issues/2605
CHECK(bytes_to_string(Bytes{word}) == "hello, world");
CHECK(it.current_word_offset() == 0);
CHECK(++it == decoder.end());
}
Expand Down

0 comments on commit 1d20082

Please sign in to comment.