diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 98150eaf..8636358f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 diff --git a/test/deno/sagiri.test.ts b/test/deno/sagiri.test.ts index 82d2a56c..bd9872a7 100644 --- a/test/deno/sagiri.test.ts +++ b/test/deno/sagiri.test.ts @@ -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("!!!!!*&#@(!)"), Error, "Malformed token. Get a token from https://saucenao.com/user.php"); }); Deno.test("should fail on invalid length", () => { - assertIsError(sagiri("7".repeat(27)), Error); + assertIsError(sagiri("7".repeat(27)), Error, "Malformed token. Get a token from https://saucenao.com/user.php"); }); Deno.test("Resolve with results", () => {