summaryrefslogtreecommitdiff
path: root/cli/tests/unit/testing_test.ts
diff options
context:
space:
mode:
authorLeo Kettmeir <crowlkats@toaxl.com>2023-01-24 15:41:01 +0100
committerGitHub <noreply@github.com>2023-01-24 15:41:01 +0100
commit2027d98a8e9e530277ab301841872cdea7e2d590 (patch)
tree04d541e094c28d039b7d88cf699cb01e24bf07bd /cli/tests/unit/testing_test.ts
parentfc2e00152b162280e78b06028d51274e33275629 (diff)
feat: allow first arg in test step to be a function (#17096)
Diffstat (limited to 'cli/tests/unit/testing_test.ts')
-rw-r--r--cli/tests/unit/testing_test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tests/unit/testing_test.ts b/cli/tests/unit/testing_test.ts
index 9c906a111..4e28d545c 100644
--- a/cli/tests/unit/testing_test.ts
+++ b/cli/tests/unit/testing_test.ts
@@ -114,7 +114,7 @@ Deno.test(async function invalidStepArguments(t) {
await (t as any).step(() => {});
},
TypeError,
- "Expected a test definition or name and function.",
+ "The step function must have a name.",
);
});