diff options
| author | Onur Gündüz <ogunduz@gmail.com> | 2026-09-29 16:54:27 +0200 |
|---|---|---|
| committer | Onur Gündüz <ogunduz@gmail.com> | 2026-09-29 16:54:27 +0200 |
| commit | 5a738121c04989e1bdcb728347f12e677adf3bd4 (patch) | |
| tree | e47c1e732bacac41b5b1ace02a39687a58567c34 /tests/compiled_tests.rs | |
| parent | 5c51cd28a928c44232e625279691da17e55858de (diff) | |
| download | ele-5a738121c04989e1bdcb728347f12e677adf3bd4.tar.gz ele-5a738121c04989e1bdcb728347f12e677adf3bd4.zip | |
Rename crate and CLI to aif
Diffstat (limited to 'tests/compiled_tests.rs')
| -rw-r--r-- | tests/compiled_tests.rs | 10 |
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")); |
