File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -281,15 +281,15 @@ TEST_F(StorageTest, IntFloat)
281
281
}
282
282
283
283
{ // int -> float (bad)
284
- ASSERT_TRUE (storage->WriteInt (" key3" , 9223372036854775807 ));
284
+ ASSERT_TRUE (storage->WriteInt (" key3" , 9223372036854705807 ));
285
285
286
286
{
287
287
auto [value, ok] = storage->ReadInt (" key3" );
288
288
EXPECT_TRUE (ok);
289
- EXPECT_EQ (9223372036854775807 , value);
289
+ EXPECT_EQ (9223372036854705807 , value);
290
290
}
291
291
292
- { // value can'be represented as float without loss
292
+ { // value can't be represented as float without loss
293
293
auto [value, ok] = storage->ReadFloat (" key3" );
294
294
EXPECT_FALSE (ok);
295
295
EXPECT_EQ (0 , value);
@@ -305,7 +305,7 @@ TEST_F(StorageTest, IntFloat)
305
305
EXPECT_EQ (12345678.123 , value);
306
306
}
307
307
308
- { // value can'be represented as integer without loss
308
+ { // value can't be represented as integer without loss
309
309
auto [value, ok] = storage->ReadInt (" key4" );
310
310
EXPECT_FALSE (ok);
311
311
EXPECT_EQ (0 , value);
You can’t perform that action at this time.
0 commit comments