| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent e2df1f8 commit 9b58720
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -175,7 +175,7 @@ TEST_F(IPCSerdesTest, RoundTripsTypedArray) { | |||
| 175 | 175 | // A plain Uint8Array must not come back as a Node Buffer. | |
| 176 | 176 | Environment* env = *test_env; | |
| 177 | 177 | EXPECT_FALSE( | |
| 178 | - out->GetPrototypeV2()->StrictEquals(env->buffer_prototype_object())); | ||
| 178 | + out->GetPrototype()->StrictEquals(env->buffer_prototype_object())); | ||
| 179 | 179 | } | |
| 180 | 180 | ||
| 181 | 181 | TEST_F(IPCSerdesTest, BufferRoundTripsAsBuffer) { | |
@@ -202,7 +202,7 @@ TEST_F(IPCSerdesTest, BufferRoundTripsAsBuffer) { | |||
| 202 | 202 | // plain Uint8Array. | |
| 203 | 203 | Environment* env = *test_env; | |
| 204 | 204 | EXPECT_TRUE( | |
| 205 | - out->GetPrototypeV2()->StrictEquals(env->buffer_prototype_object())); | ||
| 205 | + out->GetPrototype()->StrictEquals(env->buffer_prototype_object())); | ||
| 206 | 206 | EXPECT_EQ(node::Buffer::Length(out), static_cast<size_t>(6)); | |
| 207 | 207 | EXPECT_EQ(memcmp(node::Buffer::Data(out), "Hello!", 6), 0); | |
| 208 | 208 | } | |
| Back | FazBrowse Home | New Git URL |
0 commit comments