util: Fix small error in BitStream::stream_pos decrement by bits test

This commit is contained in:
Joshua Scott 2018-10-20 20:14:12 +01:00
parent f90dc888bb
commit 8f7d9bc896
1 changed files with 2 additions and 2 deletions

View File

@ -53,8 +53,8 @@ TEST_CASE("BitStream::stream_pos Functionality", "[bit-stream]")
SECTION("Decrement bits and move to previous byte")
{
position -= 4;
if (position.get_byte() != 1 || position.get_bit() != 7)
position -= 5;
if (position.get_byte() != 0 || position.get_bit() != 7)
FAIL();
SUCCEED();
}