aboutsummaryrefslogtreecommitdiff
path: root/src/zig_llvm.cpp
diff options
context:
space:
mode:
authorRyan Liptak <squeek502@hotmail.com>2022-11-30 18:06:02 -0800
committerAndrew Kelley <andrew@ziglang.org>2022-12-01 02:18:51 -0500
commitc37afa2811677b7602cdde8120049358c0d8c467 (patch)
tree816dd0512b72cb0b7a9806dd4cda242efe776292 /src/zig_llvm.cpp
parenta943422672a9f456a74c20b4c167107ccbadfb1a (diff)
downloadzig-c37afa2811677b7602cdde8120049358c0d8c467.tar.gz
zig-c37afa2811677b7602cdde8120049358c0d8c467.zip
std.testing: Improve expectEqualBytes for large inputs and make expectEqualSlices use it
`expectEqualBytes` will now truncate the hexdump of each input to a maximum window of 256 bytes, which makes it safe to use for arbitrarily large inputs. Therefore, it can be used in `expectEqualSlices` when the type is u8.
Diffstat (limited to 'src/zig_llvm.cpp')
0 files changed, 0 insertions, 0 deletions