image: remove expectEqual check (caused problems for rotate)

This commit is contained in:
Luna 2019-11-10 13:46:48 -03:00
parent c57c40db61
commit 46d576fc13

View file

@ -255,7 +255,7 @@ pub const Image = struct {
var in_fmt = mkSfInfo(); var in_fmt = mkSfInfo();
self.sndfile = try sopen(self.allocator, path, c.SFM_READ, &in_fmt); self.sndfile = try sopen(self.allocator, path, c.SFM_READ, &in_fmt);
std.testing.expectEqual(self.frames, @intCast(usize, in_fmt.frames)); // std.testing.expectEqual(self.frames, @intCast(usize, in_fmt.frames));
self.curpath = path; self.curpath = path;
self.frames = @intCast(usize, in_fmt.frames); self.frames = @intCast(usize, in_fmt.frames);