Skip to content

armgit / xerj

Public Imported from GitHub
0

AI search engine and MCP server for bots and agents. One Rust binary indexes code, docs, logs, JSONL/CSV and PDFs for BM25 full-text, vector and hybrid search, code search without grep, agent memory and RAG. Elasticsearch-compatible API; Corpus Hub serves hundreds of reference memory corpora.

test: update the --insecure help assertion for the new signature

bugerce07caa4a2bf
diff --git a/engine/crates/xerj-server/src/main.rs b/engine/crates/xerj-server/src/main.rs
index ccb62d3f9..599b4bbd8 100644
--- a/engine/crates/xerj-server/src/main.rs
+++ b/engine/crates/xerj-server/src/main.rs
@@ -1770,7 +1770,10 @@ mod help_text_tests {
/// describe both halves of what the flag does.
#[test]
fn insecure_help_documents_auth_not_just_tls() {
- let help = help_text();
+ // `false` so this test reads the flag documentation alone: whether the
+ // feedback invitation is present is a separate concern with its own
+ // tests, and mixing them would make this one fail for the wrong reason.
+ let help = help_text(false);
let line = help
.lines()
.position(|l| l.contains("--insecure"))