Skip to content

Qwen3.8-Flash-Next on any consumer hardware: one-click install for Windows / Linux. Strata inference engine, OpenAI/Anthropic API on localhost, optional image input.

C++

file_expert_source_test: fix the cache-hint test string

Niko1221ed5536ea8879
diff --git a/tests/core/file_expert_source_test.cpp b/tests/core/file_expert_source_test.cpp
index d333cbbb8..d3b213692 100644
--- a/tests/core/file_expert_source_test.cpp
+++ b/tests/core/file_expert_source_test.cpp
@@ -394,9 +394,7 @@ void test_pin_pacing() {
require(page_cache_hint(info).find("drop_caches") != std::string::npos &&
page_cache_hint(info).find("STRATA_DROP_CACHE_ON_EXIT") != std::string::npos &&
page_cache_hint(info).find("52.0 GiB") != std::string::npos, "the cache hint is incomplete");
- require(page_cache_hint("MemFree: 100 kB
-Cached: 1000 kB
-").empty(), "a small cache was reported");
+ require(page_cache_hint("MemFree: 100 kB\nCached: 1000 kB\n").empty(), "a small cache was reported");
}
void test_resident_memory_budget() {