Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ah-yu committed Jul 9, 2024
1 parent 9f6adab commit 89ee4bb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion crates/biome_css_parser/src/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ impl CssParserOptions {
}

/// Enables parsing of Grit metavariables.
pub fn allow_grit_metavariable(mut self) -> Self {
pub fn allow_grit_metavariables(mut self) -> Self {
self.grit_metavariable = true;
self
}
Expand Down
4 changes: 2 additions & 2 deletions crates/biome_css_parser/tests/spec_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ pub fn run(test_case: &str, _snapshot_name: &str, test_directory: &str, outcome_
let mut options = CssParserOptions::default()
// it is an internal option that cannot be configured via options.json
// TODO: find a way to make it configurable
.allow_grit_metavariable();
.allow_grit_metavariables();

let options_path = Path::new(test_directory).join("options.json");

Expand Down Expand Up @@ -182,7 +182,7 @@ pub fn quick_test() {
CssParserOptions::default()
.allow_wrong_line_comments()
.allow_css_modules()
.allow_grit_metavariable(),
.allow_grit_metavariables(),
);
let syntax = root.syntax();
dbg!(&syntax, root.diagnostics(), root.has_errors());
Expand Down

0 comments on commit 89ee4bb

Please # to comment.