mirror of
https://github.com/microsoft/regorus.git
synced 2026-08-05 02:16:11 +00:00
Enable policy files greater than 64KB in size (#217)
fixes #214 Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com>
This commit is contained in:
committed by
GitHub
parent
744dad6126
commit
3743f32edc
+1
-1
@@ -630,7 +630,7 @@ fn yaml_test_impl(file: &str) -> Result<()> {
|
||||
|
||||
for case in &test.cases {
|
||||
print!("\ncase {} ", case.note);
|
||||
let source = Source::new("case.rego".to_string(), case.rego.clone());
|
||||
let source = Source::from_contents("case.rego".to_string(), case.rego.clone())?;
|
||||
let mut parser = Parser::new(&source)?;
|
||||
match parser.parse() {
|
||||
Ok(module) => {
|
||||
|
||||
Reference in New Issue
Block a user