summaryrefslogtreecommitdiff
path: root/modules/codec/tests/schema.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/codec/tests/schema.cpp')
-rw-r--r--modules/codec/tests/schema.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/codec/tests/schema.cpp b/modules/codec/tests/schema.cpp
index e1c2f82..df90eb1 100644
--- a/modules/codec/tests/schema.cpp
+++ b/modules/codec/tests/schema.cpp
@@ -7,7 +7,8 @@ SAW_TEST("Schema String Hash"){
using namespace saw;
data<schema::String> str{"foo"};
uint64_t hash = schema_hash<schema::String>::apply(0, str);
+ uint64_t expected_hash = 1524024712123765130u;
- SAW_EXPECT( hash == 0, std::string{"Hash is "} + std::to_string(hash) +", but should be 0.");
+ SAW_EXPECT( hash == expected_hash, std::string{"Hash is "} + std::to_string(hash) +", but should be 0.");
}
}