Fixed std.testing.expectEqual
This commit is contained in:
parent
e280dce30f
commit
d2fb95af88
@ -59,6 +59,7 @@ pub fn expectEqual(expected: var, actual: @typeOf(expected)) void {
|
||||
switch (pointer.size) {
|
||||
builtin.TypeInfo.Pointer.Size.One,
|
||||
builtin.TypeInfo.Pointer.Size.Many,
|
||||
builtin.TypeInfo.Pointer.Size.C,
|
||||
=> {
|
||||
if (actual != expected) {
|
||||
std.debug.panic("expected {}, found {}", expected, actual);
|
||||
|
Loading…
x
Reference in New Issue
Block a user