(t *testing.T)
| 220 | } |
| 221 | |
| 222 | func TestUpdateEmptyUpdateListSelectsNothing(t *testing.T) { |
| 223 | devbox := devboxForTesting(t) |
| 224 | |
| 225 | helloPkg := devpkg.PackageFromStringWithDefaults("hello@1.2.3", nil) |
| 226 | |
| 227 | // packagesBeingUpdated is nil (default) — no package should be force-refreshed. |
| 228 | require.False(t, devbox.isBeingUpdated(helloPkg)) |
| 229 | } |
| 230 | |
| 231 | func currentSystem(*testing.T) string { |
| 232 | sys := nix.System() // NOTE: we could mock this too, if it helps. |
nothing calls this directly
no test coverage detected