mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-02 20:18:38 -05:00
Merge main into feat/scripts-export-autocad
This commit is contained in:
commit
d09d00fa25
278 files changed
+9496
-2128
No files matched your search
@@ -2753,6 +2753,8 @@ fn a_file_two_branches_include_is_followed_from_the_shallower_one() {
|
||||
]);
|
||||
let limits = Limits { include_depth: 3, ..Limits::default() };
|
||||
let r = check("main.jsx", b"#include 'a.jsxinc'\n#include 'b.jsxinc'\n", Some(&mut m), &limits);
|
||||
// One row per #include line: main's two, a's, b's, c's and shared's.
|
||||
assert_eq!(r.includes.len(), 6, "{:?}", includes(&r));
|
||||
assert!(r.includes.iter().all(|i| i.status == IncludeStatus::Checked), "{:?}", includes(&r));
|
||||
assert_eq!(r.outside.iter().map(|o| o.id).collect::<Vec<_>>(), ["network"]);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user