1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 04:37:44 +00:00

Refactor: Replace usages of FixedArray with Array.

This commit is contained in:
asynts 2020-09-06 21:40:46 +02:00 committed by Andreas Kling
parent 76e37e8c96
commit 9c83d6ff46
8 changed files with 52 additions and 54 deletions

View file

@ -26,7 +26,7 @@
#include <AK/TestSuite.h>
#include <AK/FixedArray.h>
#include <AK/Array.h>
#include <AK/MemoryStream.h>
static bool compare(ReadonlyBytes lhs, ReadonlyBytes rhs)
@ -127,7 +127,7 @@ TEST_CASE(duplex_large_buffer)
{
DuplexMemoryStream stream;
FixedArray<u8> one_kibibyte { 1024 };
Array<u8, 1024> one_kibibyte;
EXPECT_EQ(stream.remaining(), 0ul);