Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update swc_core #48

Merged
merged 2 commits into from
Jul 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ serializable = ["serde"]
[dependencies]
markdown = "1.0.0-alpha.17"
serde = { version = "1", optional = true }
swc_core = { version = "0.95.0", features = [
swc_core = { version = "0.96.0", features = [
"ecma_ast",
"ecma_visit",
"ecma_codegen",
Expand Down
4 changes: 2 additions & 2 deletions tests/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ fn err_expression_broken_multiline_comment_a() {
.err()
.unwrap()
.to_string(),
"1:6: Could not parse expression with swc: Unexpected eof (mdxjs-rs:swc)",
"1:6: Could not parse expression with swc: Unterminated block comment (mdxjs-rs:swc)",
"should crash on an unclosed block comment after an expression",
);
}
Expand All @@ -339,7 +339,7 @@ fn err_expression_broken_multiline_comment_b() {
.err()
.unwrap()
.to_string(),
"1:6: Could not parse expression with swc: Unterminated block comment (mdxjs-rs:swc)",
"1:2: Could not parse expression with swc: Unexpected eof (mdxjs-rs:swc)",
"should crash on an unclosed block comment in an empty expression",
);
}
Expand Down