summaryrefslogtreecommitdiff
path: root/AK/Tests/TestMemoryStream.cpp
diff options
context:
space:
mode:
authorasynts <asynts@gmail.com>2020-09-06 21:40:46 +0200
committerAndreas Kling <kling@serenityos.org>2020-09-08 14:01:21 +0200
commit9c83d6ff468870c58f2a81673b29d96106f543fb (patch)
tree0a66b1d4477cae34d806360daa739cd3a4bd7e45 /AK/Tests/TestMemoryStream.cpp
parent76e37e8c968e62abf597afdd4554714c6d40ef92 (diff)
downloadserenity-9c83d6ff468870c58f2a81673b29d96106f543fb.zip
Refactor: Replace usages of FixedArray with Array.
Diffstat (limited to 'AK/Tests/TestMemoryStream.cpp')
-rw-r--r--AK/Tests/TestMemoryStream.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/AK/Tests/TestMemoryStream.cpp b/AK/Tests/TestMemoryStream.cpp
index 61e8266af4..9f17e0a27e 100644
--- a/AK/Tests/TestMemoryStream.cpp
+++ b/AK/Tests/TestMemoryStream.cpp
@@ -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);