From 8eb43473ee9a2ee28c1bb438c82ba41e1b972dcd Mon Sep 17 00:00:00 2001 From: Yad Smood Date: Fri, 8 Jul 2022 15:07:51 +0800 Subject: [PATCH] update leakless to support arm linux --- browser_test.go | 2 +- go.mod | 2 +- go.sum | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/browser_test.go b/browser_test.go index 63b47f2b..aedbe689 100644 --- a/browser_test.go +++ b/browser_test.go @@ -284,7 +284,7 @@ func TestBinarySize(t *testing.T) { stat, err := os.Stat("tmp/translator") g.E(err) - g.Lte(float64(stat.Size())/1024/1024, 9.4) // mb + g.Lte(float64(stat.Size())/1024/1024, 10.4) // mb } func TestBrowserCookies(t *testing.T) { diff --git a/go.mod b/go.mod index 99ade92a..ab285b84 100644 --- a/go.mod +++ b/go.mod @@ -7,5 +7,5 @@ require ( github.com/ysmood/got v0.31.2 github.com/ysmood/gotrace v0.6.0 github.com/ysmood/gson v0.7.1 - github.com/ysmood/leakless v0.7.0 + github.com/ysmood/leakless v0.8.0 ) diff --git a/go.sum b/go.sum index 6dd57a13..63a421e3 100644 --- a/go.sum +++ b/go.sum @@ -6,5 +6,5 @@ github.com/ysmood/gotrace v0.6.0 h1:SyI1d4jclswLhg7SWTL6os3L1WOKeNn/ZtzVQF8QmdY= github.com/ysmood/gotrace v0.6.0/go.mod h1:TzhIG7nHDry5//eYZDYcTzuJLYQIkykJzCRIo4/dzQM= github.com/ysmood/gson v0.7.1 h1:zKL2MTGtynxdBdlZjyGsvEOZ7dkxaY5TH6QhAbTgz0Q= github.com/ysmood/gson v0.7.1/go.mod h1:3Kzs5zDl21g5F/BlLTNcuAGAYLKt2lV5G8D1zF3RNmg= -github.com/ysmood/leakless v0.7.0 h1:XCGdaPExyoreoQd+H5qgxM3ReNbSPFsEXpSKwbXbwQw= -github.com/ysmood/leakless v0.7.0/go.mod h1:R8iAXPRaG97QJwqxs74RdwzcRHT1SWCGTNqY8q0JvMQ= +github.com/ysmood/leakless v0.8.0 h1:BzLrVoiwxikpgEQR0Lk8NyBN5Cit2b1z+u0mgL4ZJak= +github.com/ysmood/leakless v0.8.0/go.mod h1:R8iAXPRaG97QJwqxs74RdwzcRHT1SWCGTNqY8q0JvMQ=