Parse tests as private functions.

They actually are private; we can't export / import tests. Fixes #284.
This commit is contained in:
KtorZ
2023-01-20 12:50:07 +01:00
parent 61be8ca73e
commit ce65236514
9 changed files with 24 additions and 1 deletions

View File

@@ -300,7 +300,7 @@ pub fn test_parser() -> impl Parser<Token, ast::UntypedDefinition, Error = Parse
location: span_end,
end_position: span.end - 1,
name,
public: true,
public: false,
return_annotation: None,
return_type: (),
})