Skip to content

Commit

Permalink
Remove duplicated test from merge
Browse files Browse the repository at this point in the history
  • Loading branch information
franknoirot committed Feb 14, 2025
1 parent 3e70368 commit cb28514
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions src/wasm-lib/kcl/src/unparser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -865,29 +865,6 @@ mod tests {
assert_eq!(output, input);
}

#[test]
fn test_recast_annotations_in_function_body() {
let input = r#"fn myFunc() {
@meta(yes = true)
x = 2
}
"#;
let program = crate::parsing::top_level_parse(input).unwrap();
let output = program.recast(&Default::default(), 0);
assert_eq!(output, input);
}

#[test]
fn test_recast_annotations_in_function_body_without_items() {
let input = r#"fn myFunc() {
@meta(yes = true)
}
"#;
let program = crate::parsing::top_level_parse(input).unwrap();
let output = program.recast(&Default::default(), 0);
assert_eq!(output, input);
}

#[test]
fn test_recast_if_else_if_same() {
let input = r#"b = if false {
Expand Down

0 comments on commit cb28514

Please sign in to comment.