Skip to content

Commit

Permalink
Changed fin protocol test empty map to NewVariables
Browse files Browse the repository at this point in the history
  • Loading branch information
MaartendeKruijf committed May 5, 2024
1 parent f2e11e1 commit 70fc078
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unittest/finprotocol/finprotocol_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func TestTimeoutAndCallbackTimerElaspsed(t *testing.T) {
result, err := prot.AwaitResultOrTimeout(expectedCommand, &mock_client)

assert.Equal(t, err, errors.New("no message received from fin while it was expected"))
assert.Equal(t, result, map[string]cacao.Variable{})
assert.Equal(t, result, cacao.NewVariables())
}

func TestTimeoutAndCallbackHandlerCalled(t *testing.T) {
Expand Down

0 comments on commit 70fc078

Please sign in to comment.