mirror of
https://github.com/denoland/deno.git
synced 2024-11-21 15:04:11 -05:00
fix(cli): panic with __runtime_js_sources (#20704)
Also a drive-by cleanup elsewhere (removing unused enum). Fixes #20702
This commit is contained in:
parent
3b78981ffe
commit
aef56f3d70
2 changed files with 1 additions and 7 deletions
|
@ -29,6 +29,7 @@ deno_core::extension!(cli,
|
||||||
esm = [
|
esm = [
|
||||||
dir "js",
|
dir "js",
|
||||||
"40_testing.js",
|
"40_testing.js",
|
||||||
|
"40_jupyter.js",
|
||||||
"99_main.js"
|
"99_main.js"
|
||||||
],
|
],
|
||||||
options = {
|
options = {
|
||||||
|
|
|
@ -173,13 +173,6 @@ pub struct TestDescription {
|
||||||
pub location: TestLocation,
|
pub location: TestLocation,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, Clone, Eq, PartialEq, Deserialize)]
|
|
||||||
#[serde(rename_all = "camelCase")]
|
|
||||||
pub enum TestOutput {
|
|
||||||
String(String),
|
|
||||||
Bytes(Vec<u8>),
|
|
||||||
}
|
|
||||||
|
|
||||||
#[allow(clippy::derive_partial_eq_without_eq)]
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||||
#[derive(Debug, Clone, PartialEq, Deserialize)]
|
#[derive(Debug, Clone, PartialEq, Deserialize)]
|
||||||
#[serde(rename_all = "camelCase")]
|
#[serde(rename_all = "camelCase")]
|
||||||
|
|
Loading…
Reference in a new issue