Repository navigation
Derive the expected update-script name in lint--update.t from default_version - #102
Conversation
…_version The real-tree assertion hardcoded the `stable` update script, so `make test-bin` failed on any release commit. Read default_version from cat_tools.control instead, the same source bin/lint--update uses.
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
|
|
Claude finished @jnasbyupgrade's task in 11s —— View job Code review: no issues found
The test now reads Minor, non-blocking: if the control file ever lacked I did not run the tests. The PR description says |
Make the real-tree assertion in
bin/test/lint--update.treaddefault_versionfromcat_tools.controlinstead of hardcoding thestableupdate script, somake test-binpasses on release commits as well as on master.bin/lint--updatetakes its no-argument pair from the samedefault_version, so the test now tracks what the linter actually checks.Tested:
make test-binandmake lint--updatepass on this branch withdefault_version = 'stable';make test-binalso passes with the 0.4.0 release commit cherry-picked on top (default_version = '0.4.0', update scriptcat_tools--0.3.0--0.4.0.sql.in).