Fix to call the instance method on bodystream from recent tests. (#1866)

This commit is contained in:
Ahson Khan 2021-03-11 09:57:06 -08:00 committed by GitHub
parent 12475350b2
commit ec1c92f2ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -69,8 +69,7 @@ TEST(FileBodyStream, Length)
Azure::Core::IO::FileBodyStream stream(testDataPath);
EXPECT_EQ(stream.Length(), FileSize);
auto readResult = Azure::Core::IO::BodyStream::ReadToEnd(
stream, Azure::Core::Context::GetApplicationContext());
auto readResult = stream.ReadToEnd(Azure::Core::Context::GetApplicationContext());
EXPECT_EQ(readResult.size(), FileSize);
stream.Rewind();