]> Sergey Matveev's repositories - public-inbox.git/commitdiff
t/solver_git.t: avoid redundant work for snapshot test
authorEric Wong <e@80x24.org>
Sun, 1 Jan 2023 10:54:40 +0000 (10:54 +0000)
committerEric Wong <e@80x24.org>
Sun, 1 Jan 2023 21:25:18 +0000 (21:25 +0000)
We only have to generate the expected tarball and checksum once
for testing both -httpd and generic PSGI. And drop the redundant
length check since the SHA-256 check is sufficient.

This saves 20-30ms on my system.


No differences found