You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test: add regression tests for BuildProduct::from_db
The existing tests covered RelativeStorePath::from_path (which was
already working), but not the from_db path where the actual bug lived.
Add tests that exercise from_db directly:
- subpath product (/nix/store/hash-name/share/doc/nix/manual)
- bare store path (/nix/store/hash-name)
- None path (NULL in database)
0 commit comments