From 58f6ffa83d211acb9afa681f5d7cf1507280bdc3 Mon Sep 17 00:00:00 2001 From: Hariom Verma Date: Thu, 27 Jul 2023 20:58:13 +0530 Subject: [PATCH] fix: switch args `assert.Equal()` --- gnovm/pkg/gnomod/gnomod_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnovm/pkg/gnomod/gnomod_test.go b/gnovm/pkg/gnomod/gnomod_test.go index 8df3b23b761..f4ec932823f 100644 --- a/gnovm/pkg/gnomod/gnomod_test.go +++ b/gnovm/pkg/gnomod/gnomod_test.go @@ -130,7 +130,7 @@ func TestCreateGnoModFile(t *testing.T) { // Verify gno.mod file bz, err := os.ReadFile(filepath.Join(dirPath, "gno.mod")) assert.NoError(t, err) - assert.Equal(t, string(bz), tc.out) + assert.Equal(t, tc.out, string(bz)) }) } }