Skip to content

Commit

Permalink
fix: Parse testing macro
Browse files Browse the repository at this point in the history
  • Loading branch information
can-keklik committed Dec 19, 2023
1 parent f7f4c3f commit 0bde5eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion server/src/lang/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -929,5 +929,5 @@ impl<'a> Parser<'a> {
mod test {
use crate::parse_tests;

parse_tests!(generic, binary, unary, grouping, number_literal, variable);
parse_tests!(generic / binary, unary, grouping, number_literal, variable);
}
2 changes: 1 addition & 1 deletion server/src/lang/tests/helpers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ macro_rules! generate_parse_test_cases {
#[macro_export]
#[cfg(test)]
macro_rules! parse_tests {
($package:ident, $($file:ident),*) => {
($package:ident / $($file:ident),*) => {

mod $package {
use crate::generate_parse_test_cases;
Expand Down

0 comments on commit 0bde5eb

Please sign in to comment.