From a891e77083eed0d2204c2bbd4ac09a02d3f913ae Mon Sep 17 00:00:00 2001 From: Hong Minhee Date: Thu, 3 Aug 2023 17:05:59 +0900 Subject: [PATCH] Update std@0.140 -> 0.196 & fast-check@3 -> 3.12 [changelog skip] --- testing.ts | 2 +- tests/collections_test.ts | 4 ++-- tests/concat_test.ts | 2 +- tests/drop_test.ts | 4 ++-- tests/fold_test.ts | 2 +- tests/infinite_test.ts | 2 +- tests/map_test.ts | 2 +- tests/take_test.ts | 4 ++-- tests/tee_test.ts | 2 +- tests/testing_test.ts | 4 ++-- tests/unique_test.ts | 2 +- 11 files changed, 15 insertions(+), 15 deletions(-) diff --git a/testing.ts b/testing.ts index b348618..51d4b5b 100644 --- a/testing.ts +++ b/testing.ts @@ -1,4 +1,4 @@ -import { assertEquals } from "https://deno.land/std@0.140.0/testing/asserts.ts"; +import { assertEquals } from "https://deno.land/std@0.196.0/assert/mod.ts"; /** * Makes an assertion that the elements of the `actual` iterable are equal to diff --git a/tests/collections_test.ts b/tests/collections_test.ts index 368db1c..3f0c33c 100644 --- a/tests/collections_test.ts +++ b/tests/collections_test.ts @@ -1,5 +1,5 @@ -import { assertEquals } from "https://deno.land/std@0.140.0/testing/asserts.ts"; -import * as fc from "https://cdn.skypack.dev/fast-check@3.0.0?dts"; +import { assertEquals } from "https://deno.land/std@0.196.0/assert/mod.ts"; +import * as fc from "npm:fast-check@3.12.0"; import { fromIterable, toArray, toMap, toSet } from "../collections.ts"; import { assertStreams } from "../testing.ts"; import { getAsyncIterable } from "./testing_test.ts"; diff --git a/tests/concat_test.ts b/tests/concat_test.ts index e53689a..a56f5e8 100644 --- a/tests/concat_test.ts +++ b/tests/concat_test.ts @@ -1,4 +1,4 @@ -import * as fc from "https://cdn.skypack.dev/fast-check@3.0.0?dts"; +import * as fc from "npm:fast-check@3.12.0"; import { fromIterable } from "../collections.ts"; import { concat } from "../concat.ts"; import { assertStreams } from "../testing.ts"; diff --git a/tests/drop_test.ts b/tests/drop_test.ts index eacfdae..ff7fd15 100644 --- a/tests/drop_test.ts +++ b/tests/drop_test.ts @@ -1,5 +1,5 @@ -import { assert } from "https://deno.land/std@0.140.0/testing/asserts.ts"; -import * as fc from "https://cdn.skypack.dev/fast-check@3.0.0?dts"; +import { assert } from "https://deno.land/std@0.196.0/assert/mod.ts"; +import * as fc from "npm:fast-check@3.12.0"; import { fromIterable } from "../collections.ts"; import { drop, dropWhile } from "../drop.ts"; import { count } from "../infinite.ts"; diff --git a/tests/fold_test.ts b/tests/fold_test.ts index fb55eb7..0b8937d 100644 --- a/tests/fold_test.ts +++ b/tests/fold_test.ts @@ -1,7 +1,7 @@ import { assertEquals, assertRejects, -} from "https://deno.land/std@0.140.0/testing/asserts.ts"; +} from "https://deno.land/std@0.196.0/assert/mod.ts"; import { reduce } from "../fold.ts"; import { getAsyncIterable } from "./testing_test.ts"; diff --git a/tests/infinite_test.ts b/tests/infinite_test.ts index f847b9f..accfb3d 100644 --- a/tests/infinite_test.ts +++ b/tests/infinite_test.ts @@ -1,4 +1,4 @@ -import { assertThrows } from "https://deno.land/std@0.140.0/testing/asserts.ts"; +import { assertThrows } from "https://deno.land/std@0.196.0/assert/mod.ts"; import { count, cycle, repeat } from "../infinite.ts"; import { assertStreams, assertStreamStartsWith } from "../testing.ts"; diff --git a/tests/map_test.ts b/tests/map_test.ts index 0c48170..c86354b 100644 --- a/tests/map_test.ts +++ b/tests/map_test.ts @@ -1,4 +1,4 @@ -import { assertRejects } from "https://deno.land/std@0.140.0/testing/asserts.ts"; +import { assertRejects } from "https://deno.land/std@0.196.0/assert/mod.ts"; import { count, repeat } from "../infinite.ts"; import { map } from "../map.ts"; import { assertStreams, assertStreamStartsWith } from "../testing.ts"; diff --git a/tests/take_test.ts b/tests/take_test.ts index 1d3ac22..c0ed23d 100644 --- a/tests/take_test.ts +++ b/tests/take_test.ts @@ -1,5 +1,5 @@ -import { assert } from "https://deno.land/std@0.140.0/testing/asserts.ts"; -import * as fc from "https://cdn.skypack.dev/fast-check@3.0.0?dts"; +import { assert } from "https://deno.land/std@0.196.0/assert/mod.ts"; +import * as fc from "npm:fast-check@3.12.0"; import { fromIterable } from "../collections.ts"; import { count } from "../infinite.ts"; import { take, takeWhile } from "../take.ts"; diff --git a/tests/tee_test.ts b/tests/tee_test.ts index deeb38b..26003c0 100644 --- a/tests/tee_test.ts +++ b/tests/tee_test.ts @@ -1,4 +1,4 @@ -import * as fc from "https://cdn.skypack.dev/fast-check@3.0.0?dts"; +import * as fc from "npm:fast-check@3.12.0"; import { fromIterable } from "../collections.ts"; import { tee } from "../tee.ts"; import { assertStreams, assertStreamStartsWith } from "../testing.ts"; diff --git a/tests/testing_test.ts b/tests/testing_test.ts index 889934b..cd4673c 100644 --- a/tests/testing_test.ts +++ b/tests/testing_test.ts @@ -1,8 +1,8 @@ import { AssertionError, assertRejects, -} from "https://deno.land/std@0.140.0/testing/asserts.ts"; -import * as fc from "https://cdn.skypack.dev/fast-check@3.0.0?dts"; +} from "https://deno.land/std@0.196.0/assert/mod.ts"; +import * as fc from "npm:fast-check@3.12.0"; import { fromIterable } from "../collections.ts"; import { assertStreams, assertStreamStartsWith } from "../testing.ts"; diff --git a/tests/unique_test.ts b/tests/unique_test.ts index b901341..4f76793 100644 --- a/tests/unique_test.ts +++ b/tests/unique_test.ts @@ -1,4 +1,4 @@ -import { assertEquals } from "https://deno.land/std@0.140.0/testing/asserts.ts"; +import { assertEquals } from "https://deno.land/std@0.196.0/assert/mod.ts"; import { tee } from "../tee.ts"; import { assertStreams } from "../testing.ts"; import { groupBy, unique } from "../unique.ts";