SIGN IN SIGN UP
Homebrew / brew UNCLAIMED

🍺 The missing package manager for macOS (or Linux)

0 0 0 Ruby

Fix flaky cask CI matrix test

- Fix `contains_os_specific_artifacts?` memoization:
  `||=` doesn't cache `false`, so the method re-ran
  the full OS/arch simulation loop on every call,
  risking stale state. Use nil/false/true trichotomy.
- Reset `@contains_os_specific_artifacts` in `refresh`
  so the cache is invalidated when `@dsl` changes.
- Clear `SimulateSystem` in spec_helper's `ensure`
  block to prevent leaked simulation state between
  test examples.
M
Mike McQuaid committed
c2b5b05b2d0fd7a40b9f89b4032c9695e411a388
Parent: c6c8636