Skip to content

Commit

Permalink
make test code valid
Browse files Browse the repository at this point in the history
  • Loading branch information
0f-0b committed Aug 13, 2024
1 parent 51ea24a commit 83c060c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/rules/prefer_primordials.rs
Original file line number Diff line number Diff line change
Expand Up @@ -798,7 +798,13 @@ function foo(): Array<any> {}
type p = Promise<void>;
"#,
r#"
#a in A;
class A {
#brand;
static is(obj) {
return #brand in obj;
}
}
"#,
};
}
Expand Down

0 comments on commit 83c060c

Please sign in to comment.