Skip to content

Commit 79bb1b8

Browse files
committed
Update test msgs
1 parent 2cc2eb7 commit 79bb1b8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

client/client_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ func Test_Client_CreateWorkflowInstance_ParamMismatch(t *testing.T) {
3535
InstanceID: "id",
3636
}, wf, "foo")
3737
require.Zero(t, result)
38-
require.EqualError(t, err, "arguments do not match workflow parameters")
38+
require.EqualError(t, err, "mismatched argument type: expected int, got string")
3939
b.AssertExpectations(t)
4040
}
4141

internal/fn/fn_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ func TestParamsMatch(t *testing.T) {
178178
fn: func() error {
179179
return ParamsMatch(mixedParams, 0, 42, "")
180180
},
181-
want: "mismatched argument count: expected 2, got 3",
181+
want: "mismatched argument count: expected 3, got 2",
182182
},
183183
{
184184
name: "mixed params - wrong params",

0 commit comments

Comments
 (0)