Skip to content

Commit

Permalink
fix: parser tests
Browse files Browse the repository at this point in the history
  • Loading branch information
TheEdward162 committed Jan 11, 2024
1 parent e30df5d commit 29e4316
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"error": {
"$defs": {
"AnyValue": {
"anyOf": [
"oneOf": [
{
"type": "null"
},
Expand Down Expand Up @@ -95,7 +95,7 @@
"input": {
"$defs": {
"AnyValue": {
"anyOf": [
"oneOf": [
{
"type": "null"
},
Expand Down Expand Up @@ -140,7 +140,7 @@
"result": {
"$defs": {
"AnyValue": {
"anyOf": [
"oneOf": [
{
"type": "null"
},
Expand Down
2 changes: 1 addition & 1 deletion core/comlink/tests/test_typescript_profile_parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ macro_rules! prepare_test {
let source = include_str!($source);
let expected: JsonValue = serde_json::from_str(include_str!($expected)).unwrap();

let (profile, errors) = comlink::typescript_parser::parse_profile(source);
let (profile, _spans, errors) = comlink::typescript_parser::parse_profile(source);
if !errors.is_empty() {
eprintln!("errors:{:#?}", errors);
}
Expand Down

0 comments on commit 29e4316

Please sign in to comment.