aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-08-06 16:56:11 -0400
committerJack Lloyd <[email protected]>2018-08-06 16:56:11 -0400
commit6a658b826786b241390df518b5552b779f6d91cd (patch)
treea5d9feabae382fcc8013fa929c197714b33387e3 /src/tests
parent83f67daeb488c91108dd502ead78e869dec12125 (diff)
Remove test that causes problems on 32-bit
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/test_hash.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/tests/test_hash.cpp b/src/tests/test_hash.cpp
index a36bf7214..6b69b5be4 100644
--- a/src/tests/test_hash.cpp
+++ b/src/tests/test_hash.cpp
@@ -137,8 +137,6 @@ class Hash_Function_Tests final : public Text_Based_Test
for(size_t i = 0; i != bytes_to_misalign; ++i)
misaligned.insert(misaligned.begin(), 0x23);
- const size_t misalignment = reinterpret_cast<uintptr_t>(&misaligned[bytes_to_misalign]) % 16;
- result.test_eq("Misaligned input to 15 % 16", misalignment, 15);
hash->update(&misaligned[bytes_to_misalign], input.size());
result.test_eq(provider, "hashing misaligned data", hash->final(), expected);
}