summaryrefslogtreecommitdiff
path: root/ops/optimizer_tests/issue16934.rs
diff options
context:
space:
mode:
authorMatt Mastracci <matthew@mastracci.com>2023-07-01 18:00:14 -0600
committerGitHub <noreply@github.com>2023-07-02 00:00:14 +0000
commite746b6d80654ba4e4e26370fe6e4f784ce841d92 (patch)
tree153ffad92a96126b9ab8e906dcdabf7648755931 /ops/optimizer_tests/issue16934.rs
parentb9c0e7cd550ab14fa7da7e33ed87cbeeeb9785a0 (diff)
refactor(core): Extract deno_core (#19658)
`deno_core` is moving out! You'll find it at https://github.com/denoland/deno_core/ once this PR lands.
Diffstat (limited to 'ops/optimizer_tests/issue16934.rs')
-rw-r--r--ops/optimizer_tests/issue16934.rs11
1 files changed, 0 insertions, 11 deletions
diff --git a/ops/optimizer_tests/issue16934.rs b/ops/optimizer_tests/issue16934.rs
deleted file mode 100644
index 1e77f1281..000000000
--- a/ops/optimizer_tests/issue16934.rs
+++ /dev/null
@@ -1,11 +0,0 @@
-async fn send_stdin(
- state: &mut OpState,
- cmd: String,
-) -> Result<(), anyhow::Error> {
- // https://github.com/denoland/deno/issues/16934
- //
- // OpState borrowed across await point is not allowed, as it will likely panic at runtime.
- let instance = state.borrow::<MinecraftInstance>().clone();
- instance.send_command(&cmd, CausedBy::Unknown).await?;
- Ok(())
-}