From 4d128c082239da26e2c10dc34f06571ae353df5d Mon Sep 17 00:00:00 2001 From: tony Date: Fri, 6 Dec 2024 09:29:35 +0000 Subject: [PATCH] fix tests Signed-off-by: jsvisa --- api/debug/debug_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/debug/debug_test.go b/api/debug/debug_test.go index 37a7841d6..d56718143 100644 --- a/api/debug/debug_test.go +++ b/api/debug/debug_test.go @@ -61,6 +61,7 @@ func TestDebug(t *testing.T) { "testTraceClauseWithClauseIndexOutOfBound": testTraceClauseWithClauseIndexOutOfBound, "testTraceClauseWithCustomTracer": testTraceClauseWithCustomTracer, "testTraceClause": testTraceClause, + "testTraceClauseWithoutBlockID": testTraceClauseWithoutBlockID, } { t.Run(name, tt) } @@ -266,7 +267,7 @@ func testTraceClause(t *testing.T) { assert.Equal(t, expectedExecutionResult, parsedExecutionRes) } -func testTraceClauseWithoutBlockId(t *testing.T) { +func testTraceClauseWithoutBlockID(t *testing.T) { traceClauseOption := &TraceClauseOption{ Name: "structLogger", Target: fmt.Sprintf("%s/1", transaction.ID()),