Skip to content

Commit c416d0c

Browse files
committed
squash! test: fix DebugSymbolsTest.ReqWrapList on PPC64LE
Fix cpp formatting.
1 parent 7a40859 commit c416d0c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/cctest/test_node_postmortem_metadata.cc

+4-4
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,8 @@ TEST_F(DebugSymbolsTest, ReqWrapList) {
177177
volatile uintptr_t head =
178178
queue +
179179
nodedbg_offset_Environment_ReqWrapQueue__head___ListNode_ReqWrapQueue;
180-
volatile uintptr_t tail = head +
181-
nodedbg_offset_ListNode_ReqWrap__prev___uintptr_t;
180+
volatile uintptr_t tail =
181+
head + nodedbg_offset_ListNode_ReqWrap__prev___uintptr_t;
182182
tail = *reinterpret_cast<uintptr_t*>(tail);
183183

184184
auto obj_template = v8::FunctionTemplate::New(isolate_);
@@ -196,8 +196,8 @@ TEST_F(DebugSymbolsTest, ReqWrapList) {
196196
// ARM64 CI machinies.
197197
for (auto it : *(*env)->req_wrap_queue()) (void) &it;
198198

199-
volatile uintptr_t last = tail +
200-
nodedbg_offset_ListNode_ReqWrap__next___uintptr_t;
199+
volatile uintptr_t last =
200+
tail + nodedbg_offset_ListNode_ReqWrap__next___uintptr_t;
201201
last = *reinterpret_cast<uintptr_t*>(last);
202202

203203
volatile uintptr_t expected = reinterpret_cast<uintptr_t>(&obj);

0 commit comments

Comments
 (0)