Index: test/unittests/value-serializer-unittest.cc |
diff --git a/test/unittests/value-serializer-unittest.cc b/test/unittests/value-serializer-unittest.cc |
index cd2afa09f12559fb24e77bcfde59785089ed1a50..c0037efb01709e9c401992d89292422494bf18c1 100644 |
--- a/test/unittests/value-serializer-unittest.cc |
+++ b/test/unittests/value-serializer-unittest.cc |
@@ -1337,7 +1337,7 @@ TEST_F(ValueSerializerTest, DecodeDate) { |
#else |
DecodeTest({0xff, 0x09, 0x3f, 0x00, 0x44, 0x41, 0x2e, 0x84, 0x80, 0x00, 0x00, |
0x00, 0x00, 0x00}, |
- [this](Local<Value> value) { |
+ [](Local<Value> value) { |
ASSERT_TRUE(value->IsDate()); |
EXPECT_EQ(1e6, Date::Cast(*value)->ValueOf()); |
EXPECT_TRUE("Object.getPrototypeOf(result) === Date.prototype"); |
@@ -1345,13 +1345,13 @@ TEST_F(ValueSerializerTest, DecodeDate) { |
DecodeTest( |
{0xff, 0x09, 0x3f, 0x00, 0x44, 0xc2, 0x87, 0x89, 0x27, 0x45, 0x20, 0x00, |
0x00, 0x00}, |
- [this](Local<Value> value) { |
+ [](Local<Value> value) { |
ASSERT_TRUE(value->IsDate()); |
EXPECT_TRUE("result.toISOString() === '1867-07-01T00:00:00.000Z'"); |
}); |
DecodeTest({0xff, 0x09, 0x3f, 0x00, 0x44, 0x7f, 0xf8, 0x00, 0x00, 0x00, 0x00, |
0x00, 0x00, 0x00}, |
- [this](Local<Value> value) { |
+ [](Local<Value> value) { |
ASSERT_TRUE(value->IsDate()); |
EXPECT_TRUE(std::isnan(Date::Cast(*value)->ValueOf())); |
}); |