Skip to content

Commit

Permalink
fix(harness): pass second argument
Browse files Browse the repository at this point in the history
  • Loading branch information
petarvujovic98 committed Jul 3, 2024
1 parent 8b5c051 commit 7275c10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion harness/macro/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ impl syn::parse::Parse for EntryArgs {
let test_modules: Option<Punctuated<Path, Token![,]>> = if input.peek(Token![,]) {
input.parse::<Token![,]>()?; // Parse and consume the comma
// Now parse a list of module paths if they are present
Some(input.parse_terminated(Path::parse)?)
Some(input.parse_terminated(Path::parse, Token![,])?)
} else {
None
};
Expand Down

0 comments on commit 7275c10

Please sign in to comment.