gtest: Fix output of array ASSERT/EXPECT macros
Fixes: 015383d1d7
("gtest: Add mesa-gtest-extras.h with array ASSERT/EXPECT macros")
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13748>
This commit is contained in:
parent
deb23612f7
commit
a4eecc543e
|
@ -57,7 +57,7 @@ array_equal_pred(const char *a_expr,
|
|||
result << "\n [" << std::dec << std::setw(3) << i << "]";
|
||||
result << " "
|
||||
<< (a[i] == b[i] ? ' ' : '*')
|
||||
<< std::hex << std::setw(2) << +a[i];
|
||||
<< std::hex << std::setw(sizeof(T) * 2) << +a[i];
|
||||
}
|
||||
result << "\n\n";
|
||||
|
||||
|
|
Loading…
Reference in New Issue