From 0aff202988402b8b8ccefabe553e09ba9de3efa0 Mon Sep 17 00:00:00 2001 From: chengehe Date: Thu, 6 Jun 2024 17:39:29 +0800 Subject: [PATCH] chore: make function comments match function names Signed-off-by: chengehe --- client_test.go | 2 +- liquidity/threshold_rule_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client_test.go b/client_test.go index c6c942c18..9283fdd9d 100644 --- a/client_test.go +++ b/client_test.go @@ -106,7 +106,7 @@ func TestLoopOutFailOffchain(t *testing.T) { ctx.finish() } -// TestLoopOutWrongAmount asserts that the client checks the server invoice +// TestLoopOutFailWrongAmount asserts that the client checks the server invoice // amounts. func TestLoopOutFailWrongAmount(t *testing.T) { defer test.Guard(t)() diff --git a/liquidity/threshold_rule_test.go b/liquidity/threshold_rule_test.go index 3a5c23213..677054ab6 100644 --- a/liquidity/threshold_rule_test.go +++ b/liquidity/threshold_rule_test.go @@ -177,7 +177,7 @@ func TestCalculateAmount(t *testing.T) { } } -// TestSuggestSwaps tests swap suggestions for the threshold rule. It does not +// TestSuggestSwap tests swap suggestions for the threshold rule. It does not // many different values because we have separate tests for swap amount // calculation. func TestSuggestSwap(t *testing.T) {