diff options
author | Aaron O'Mullan <aaron.omullan@gmail.com> | 2021-04-23 17:50:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-23 11:50:45 -0400 |
commit | dd156e886b0d0f7d67538539bf7f3624b817d80a (patch) | |
tree | 01022d4993b8590fc7ab78ca9a2e6efe35974fd3 /cli/tests | |
parent | 8074d8bcf3cdcc7e9a08df147e0082798a7c2760 (diff) |
refactor(core): rename send() to opcall() (#10307)
I think it's a better fit since recv() was killed and opcall <> syscall (send/recv
was too reminiscent of request/response and custom payloads)
Diffstat (limited to 'cli/tests')
-rw-r--r-- | cli/tests/unit/opcall_test.ts (renamed from cli/tests/unit/dispatch_test.ts) | 2 | ||||
-rw-r--r-- | cli/tests/unit/unit_tests.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cli/tests/unit/dispatch_test.ts b/cli/tests/unit/opcall_test.ts index 6805d1af7..6bade6545 100644 --- a/cli/tests/unit/dispatch_test.ts +++ b/cli/tests/unit/opcall_test.ts @@ -9,7 +9,7 @@ unitTest(async function sendAsyncStackTrace() { } catch (error) { const s = error.stack.toString(); console.log(s); - assertStringIncludes(s, "dispatch_test.ts"); + assertStringIncludes(s, "opcall_test.ts"); assertStringIncludes(s, "read"); } }); diff --git a/cli/tests/unit/unit_tests.ts b/cli/tests/unit/unit_tests.ts index 28924165f..f538ab9b6 100644 --- a/cli/tests/unit/unit_tests.ts +++ b/cli/tests/unit/unit_tests.ts @@ -15,7 +15,7 @@ import "./console_test.ts"; import "./copy_file_test.ts"; import "./custom_event_test.ts"; import "./dir_test.ts"; -import "./dispatch_test.ts"; +import "./opcall_test.ts"; import "./error_stack_test.ts"; import "./event_test.ts"; import "./event_target_test.ts"; |