Skip to content

Commit

Permalink
Define what errmsg to look for
Browse files Browse the repository at this point in the history
Signed-off-by: chinodesuuu <[email protected]>
  • Loading branch information
sr229 committed Aug 27, 2024
1 parent 55f5893 commit 502d18e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,6 @@ jobs:
with:
deno-version: ${{ matrix.deno-version }}

- name: Get Dependencies
run: deno install
env:
DENO_FUTURE: 1

- name: Get CodeClimate Coverage
run: |
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
Expand Down
4 changes: 2 additions & 2 deletions test/deno/sagiri.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ import { assertIsError, assertExists } from "@std/assert";
import sagiri from "../../lib/sagiri.ts";

Deno.test("should fail on invalid characters", () => {
assertIsError(sagiri("!!!!!*&#@(!)"), Error);
assertIsError(sagiri("!!!!!*&#@(!)"));
});

Deno.test("should fail on invalid length", () => {
assertIsError(sagiri("7".repeat(27)), Error);
assertIsError(sagiri("7".repeat(27)));
});

Deno.test("Resolve with results", () => {
Expand Down

0 comments on commit 502d18e

Please sign in to comment.