From ce4bb7456f0a1f927ca246d614aa387187184741 Mon Sep 17 00:00:00 2001 From: Raymond Zhang Date: Wed, 30 Oct 2024 17:23:02 -0400 Subject: [PATCH] Update tests. --- parser/expression_test.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/parser/expression_test.go b/parser/expression_test.go index caaf70a65..f8c44fe1c 100644 --- a/parser/expression_test.go +++ b/parser/expression_test.go @@ -34,7 +34,6 @@ import ( "github.com/onflow/cadence/common" "github.com/onflow/cadence/errors" "github.com/onflow/cadence/parser/lexer" - "github.com/onflow/cadence/runtime/tests/utils" . "github.com/onflow/cadence/test_utils/common_utils" ) @@ -6331,7 +6330,7 @@ func TestParseStringTemplate(t *testing.T) { } require.Error(t, err) - utils.AssertEqualWithDiff(t, + AssertEqualWithDiff(t, []error{ &SyntaxError{ Message: "expected token ')'", @@ -6543,7 +6542,7 @@ func TestParseStringTemplate(t *testing.T) { }, } - utils.AssertEqualWithDiff(t, expected, actual) + AssertEqualWithDiff(t, expected, actual) }) }