annotated paych_test

This commit is contained in:
TheMenko 2021-11-03 21:31:33 +01:00
parent b45924a234
commit ad16bafa66

View File

@ -1,3 +1,4 @@
//stm: #unit
package paychmgr package paychmgr
import ( import (
@ -196,6 +197,7 @@ func TestCheckVoucherValid(t *testing.T) {
for _, tcase := range tcases { for _, tcase := range tcases {
tcase := tcase tcase := tcase
//stm: @PAYMENT_CHANNEL_VOUCHER_001, PAYMENT_CHANNEL_VOUCHER_002, PAYMENT_CHANNEL_VOUCHER_003, PAYMENT_CHANNEL_VOUCHER_004
t.Run(tcase.name, func(t *testing.T) { t.Run(tcase.name, func(t *testing.T) {
// Create an actor for the channel with the test case balance // Create an actor for the channel with the test case balance
act := &types.Actor{ act := &types.Actor{