Skip to content

Commit

Permalink
feat!: streamline extension standalone testing
Browse files Browse the repository at this point in the history
  • Loading branch information
halajohn committed Jan 11, 2025
1 parent 3d0ee55 commit 79777db
Showing 1 changed file with 4 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,10 @@ impl Graph {
type FilterFn = Box<dyn Fn(&(String, PkgType, String)) -> bool>;

// Define a database for a set of known addons that do not need to exist
// in the file system..
let filters: Vec<FilterFn> = vec![
// Filter out packages with pkg_type == PkgType::Extension and
// addon == "ten:test_extension"
Box::new(|pkg| {
!(pkg.1 == PkgType::Extension && pkg.2 == *"ten:test_extension")
}),
];
// in the file system.
let filters: Vec<FilterFn> = vec![Box::new(|pkg| {
!(pkg.1 == PkgType::Extension && pkg.2 == *"ten:test_extension")
})];

// Filter out those known addons that do not need to exist in the file
// system.
Expand Down

0 comments on commit 79777db

Please sign in to comment.