diff options
| author | Asher Gomez <ashersaupingomez@gmail.com> | 2024-07-25 15:30:28 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-25 15:30:28 +1000 |
| commit | 5f44148e83bb0056b7a361dd6a1bf28d11f3116d (patch) | |
| tree | e73ff318a69cabedf33a962be6fa6c73e6775f3e /tests/testdata/run | |
| parent | 84b7504d0fdccc07b9f7412408c954ae07765ccb (diff) | |
chore: update to `std@2024.07.19` (#24715)
Diffstat (limited to 'tests/testdata/run')
| -rw-r--r-- | tests/testdata/run/import_meta/importmap.json | 3 | ||||
| -rw-r--r-- | tests/testdata/run/import_meta/main.ts | 2 | ||||
| -rw-r--r-- | tests/testdata/run/onload/imported.ts | 2 | ||||
| -rw-r--r-- | tests/testdata/run/onload/main.ts | 2 | ||||
| -rw-r--r-- | tests/testdata/run/onload/nest_imported.ts | 2 | ||||
| -rw-r--r-- | tests/testdata/run/textproto.ts | 4 | ||||
| -rw-r--r-- | tests/testdata/run/tls_connecttls.js | 4 | ||||
| -rw-r--r-- | tests/testdata/run/tls_starttls.js | 6 | ||||
| -rw-r--r-- | tests/testdata/run/websocket_server_idletimeout.ts | 2 |
9 files changed, 14 insertions, 13 deletions
diff --git a/tests/testdata/run/import_meta/importmap.json b/tests/testdata/run/import_meta/importmap.json index 7d583dd81..834bf5e46 100644 --- a/tests/testdata/run/import_meta/importmap.json +++ b/tests/testdata/run/import_meta/importmap.json @@ -1,6 +1,7 @@ { "imports": { - "@std/": "../../../util/std/", + "@std/assert/throws": "../../../util/std/assert/throws.ts", + "@std/internal/styles": "../../../util/std/internal/styles.ts", "bare": "https://example.com/", "https://example.com/rewrite": "https://example.com/rewritten", diff --git a/tests/testdata/run/import_meta/main.ts b/tests/testdata/run/import_meta/main.ts index 6e4d5be98..d0425826e 100644 --- a/tests/testdata/run/import_meta/main.ts +++ b/tests/testdata/run/import_meta/main.ts @@ -1,4 +1,4 @@ -import { assertThrows } from "@std/assert/mod.ts"; +import { assertThrows } from "@std/assert/throws"; import "http://localhost:4545/run/import_meta/other.ts"; import "./other.ts"; diff --git a/tests/testdata/run/onload/imported.ts b/tests/testdata/run/onload/imported.ts index 38649b9b3..77d3da998 100644 --- a/tests/testdata/run/onload/imported.ts +++ b/tests/testdata/run/onload/imported.ts @@ -1,5 +1,5 @@ // deno-lint-ignore-file no-window-prefix -import { assert } from "@std/assert/mod.ts"; +import { assert } from "@std/assert"; import "./nest_imported.ts"; const handler = (e: Event) => { diff --git a/tests/testdata/run/onload/main.ts b/tests/testdata/run/onload/main.ts index c0e120d96..69bd174fa 100644 --- a/tests/testdata/run/onload/main.ts +++ b/tests/testdata/run/onload/main.ts @@ -1,5 +1,5 @@ // deno-lint-ignore-file no-window-prefix no-prototype-builtins -import { assert } from "@std/assert/mod.ts"; +import { assert } from "@std/assert"; import "./imported.ts"; assert(window.hasOwnProperty("onload")); diff --git a/tests/testdata/run/onload/nest_imported.ts b/tests/testdata/run/onload/nest_imported.ts index 98775d943..dbe313b9c 100644 --- a/tests/testdata/run/onload/nest_imported.ts +++ b/tests/testdata/run/onload/nest_imported.ts @@ -1,5 +1,5 @@ // deno-lint-ignore-file no-window-prefix -import { assert } from "@std/assert/mod.ts"; +import { assert } from "@std/assert"; const handler = (e: Event) => { assert(e.type === "beforeunload" ? e.cancelable : !e.cancelable); diff --git a/tests/testdata/run/textproto.ts b/tests/testdata/run/textproto.ts index d1b667c15..9e0f5f5f0 100644 --- a/tests/testdata/run/textproto.ts +++ b/tests/testdata/run/textproto.ts @@ -14,8 +14,8 @@ * @module */ -import type { BufReader, ReadLineResult } from "@std/io/buf_reader.ts"; -import { concat } from "@std/bytes/concat.ts"; +import type { BufReader, ReadLineResult } from "@std/io/buf-reader"; +import { concat } from "@std/bytes/concat"; // Constants created for DRY const CHAR_SPACE: number = " ".charCodeAt(0); diff --git a/tests/testdata/run/tls_connecttls.js b/tests/testdata/run/tls_connecttls.js index 540dd5721..b44b950fd 100644 --- a/tests/testdata/run/tls_connecttls.js +++ b/tests/testdata/run/tls_connecttls.js @@ -1,5 +1,5 @@ -import { assert, assertEquals } from "@std/assert/mod.ts"; -import { BufReader, BufWriter } from "@std/io/mod.ts"; +import { assert, assertEquals } from "@std/assert"; +import { BufReader, BufWriter } from "@std/io"; import { TextProtoReader } from "./textproto.ts"; const encoder = new TextEncoder(); diff --git a/tests/testdata/run/tls_starttls.js b/tests/testdata/run/tls_starttls.js index eb550d9be..3d9439811 100644 --- a/tests/testdata/run/tls_starttls.js +++ b/tests/testdata/run/tls_starttls.js @@ -1,6 +1,6 @@ -import { assert, assertEquals } from "@std/assert/mod.ts"; -import { BufReader } from "@std/io/buf_reader.ts"; -import { BufWriter } from "@std/io/buf_writer.ts"; +import { assert, assertEquals } from "@std/assert"; +import { BufReader } from "@std/io/buf-reader"; +import { BufWriter } from "@std/io/buf-writer"; import { TextProtoReader } from "./textproto.ts"; const encoder = new TextEncoder(); diff --git a/tests/testdata/run/websocket_server_idletimeout.ts b/tests/testdata/run/websocket_server_idletimeout.ts index aa1da5ccd..c33fd9efb 100644 --- a/tests/testdata/run/websocket_server_idletimeout.ts +++ b/tests/testdata/run/websocket_server_idletimeout.ts @@ -1,4 +1,4 @@ -import { assertEquals } from "@std/assert/mod.ts"; +import { assertEquals } from "@std/assert"; const errorDeferred = Promise.withResolvers<void>(); const closeDeferred = Promise.withResolvers<void>(); |
