Skip to content

Commit

Permalink
please
Browse files Browse the repository at this point in the history
  • Loading branch information
seren5240 committed Mar 12, 2024
1 parent 0961ecc commit 522056f
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions crates/core/src/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12583,3 +12583,25 @@ fn go_field_identifier() {
})
.unwrap();
}

#[test]
fn go_package_identifier() {
run_test_match(TestArg {
pattern: r#"
|language go
|
|`mypackage`
|"#
.trim_margin()
.unwrap(),
source: r#"
|func ZoneLockdown(api *mypackage.API) (resp interface{}, err error) {
| resp, err = api.Call()
| return
|}
|"#
.trim_margin()
.unwrap(),
})
.unwrap();
}

0 comments on commit 522056f

Please sign in to comment.