aboutsummaryrefslogtreecommitdiff
path: root/tests/compiled_tests.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/compiled_tests.rs')
-rw-r--r--tests/compiled_tests.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/compiled_tests.rs b/tests/compiled_tests.rs
index b90c810..56059c5 100644
--- a/tests/compiled_tests.rs
+++ b/tests/compiled_tests.rs
@@ -1,4 +1,4 @@
-use aip_filter::{Expr, Filterable, Value, parse};
+use aif::{Expr, Filterable, Value, parse};
use serde_json::json;
use std::process::{Command, Stdio};
@@ -21,7 +21,7 @@ fn unsupported_functions_reject_the_entire_filter() {
.contains("function calls are not supported")
);
assert!(!expr.evaluate(&record), "{input}");
- let output = Command::new(env!("CARGO_BIN_EXE_aip-filter"))
+ let output = Command::new(env!("CARGO_BIN_EXE_aif"))
.arg(input)
.stdin(Stdio::null())
.output()
@@ -32,7 +32,7 @@ fn unsupported_functions_reject_the_entire_filter() {
String::from_utf8_lossy(&output.stderr).contains("function calls are not supported")
);
}
- let output = Command::new(env!("CARGO_BIN_EXE_aip-filter"))
+ let output = Command::new(env!("CARGO_BIN_EXE_aif"))
.args(["--print", "fn(x)"])
.output()
.unwrap();
@@ -131,9 +131,9 @@ fn regex_resources_and_manual_trees_are_bounded() {
let mut expr = parse("value").unwrap().unwrap();
for _ in 0..150 {
expr = Expr::Unary {
- op: aip_filter::UnaryOp::Not,
+ op: aif::UnaryOp::Not,
expr: Box::new(expr),
- pos: aip_filter::Position { line: 1, col: 1 },
+ pos: aif::Position { line: 1, col: 1 },
};
}
assert!(expr.compile().unwrap_err().contains("expression limit"));