diff options
| author | Onur Gündüz <ogunduz@gmail.com> | 2026-10-02 06:33:41 +0200 |
|---|---|---|
| committer | Onur Gündüz <ogunduz@gmail.com> | 2026-10-02 06:33:41 +0200 |
| commit | d74582678e03a5a47d1dbe8a319739de36a42162 (patch) | |
| tree | 19e009ac7a6ee8fe410ac386a51ec86a024a2904 /tests/compiled_tests.rs | |
| parent | b4b95a173230ce2b836be0cff064bdb6a67d0076 (diff) | |
| download | ele-d74582678e03a5a47d1dbe8a319739de36a42162.tar.gz ele-d74582678e03a5a47d1dbe8a319739de36a42162.zip | |
Rename crate and CLI to ele
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 56059c5..c8c9be7 100644 --- a/tests/compiled_tests.rs +++ b/tests/compiled_tests.rs @@ -1,4 +1,4 @@ -use aif::{Expr, Filterable, Value, parse}; +use ele::{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_aif")) + let output = Command::new(env!("CARGO_BIN_EXE_ele")) .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_aif")) + let output = Command::new(env!("CARGO_BIN_EXE_ele")) .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: aif::UnaryOp::Not, + op: ele::UnaryOp::Not, expr: Box::new(expr), - pos: aif::Position { line: 1, col: 1 }, + pos: ele::Position { line: 1, col: 1 }, }; } assert!(expr.compile().unwrap_err().contains("expression limit")); |
