mirror of
https://github.com/fmang/opustags.git
synced 2025-03-14 08:30:08 +01:00
actions: fix hardcoded serialno in test
I had originally written the tests with a different sample
This commit is contained in:
parent
20663a847f
commit
817ba5cba6
@ -105,7 +105,7 @@ TEST_CASE("editing one stream", "[actions]")
|
||||
{
|
||||
ogg::Decoder dec(in);
|
||||
ogg::Encoder enc(out);
|
||||
InsertionTagsHandler editor(147710457, "pwnd", "yes");
|
||||
InsertionTagsHandler editor(-336916309, "pwnd", "yes");
|
||||
edit_tags(dec, enc, editor);
|
||||
}
|
||||
|
||||
@ -124,6 +124,7 @@ TEST_CASE("editing one stream", "[actions]")
|
||||
s2[i] = b.read_page();
|
||||
}
|
||||
|
||||
REQUIRE(s2[0]->stream.serialno == -336916309);
|
||||
REQUIRE(s2[0]->type == ogg::OPUS_STREAM);
|
||||
REQUIRE(s2[1]->type == ogg::UNKNOWN_STREAM);
|
||||
REQUIRE(s2[2]->type == ogg::OPUS_STREAM);
|
||||
|
Loading…
x
Reference in New Issue
Block a user