Skip to content

Commit 8d509d8

Browse files
Trottdanielleadams
authored andcommitted
tools: update inspector_protocol to 39ca567
Refs: https://chromium.googlesource.com/deps/inspector_protocol/+log PR-URL: #39694 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent ee7142f commit 8d509d8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/inspector_protocol/encoding/encoding_test.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,8 @@ TEST(EncodeDecodeInt32Test, RoundtripsInt32Min) {
252252
EXPECT_EQ(std::numeric_limits<int32_t>::min(), tokenizer.GetInt32());
253253
// It's nice to see how the min int32 value reads in hex:
254254
// That is, -1 minus the unsigned payload (0x7fffffff, see above).
255-
EXPECT_EQ(-0x80000000l, tokenizer.GetInt32());
255+
int32_t expected = -1 - 0x7fffffff;
256+
EXPECT_EQ(expected, tokenizer.GetInt32());
256257
tokenizer.Next();
257258
EXPECT_EQ(CBORTokenTag::DONE, tokenizer.TokenTag());
258259
}

0 commit comments

Comments
 (0)