Repository navigation
Fail on an object jetdb prop does not find, as the other show commands do - #174
Merged
Merged
Conversation
…s do - Print "<type> not found: <name>", or "object not found: <name>" without a type, and exit 1 when no object of the name (and type) is in the catalog and there are no properties - Keep printing nothing and exiting 0 for an object that exists but has no properties - Make the test of a missing object expect the error, and test a name in another case, an object of another type and an object without properties Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
CoverageFor 5701aca. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
jetdb propprinted nothing and exited 0 when the object was not found, while the other show commands printjetdb: ... not found: Xand exit 1. It now does the same:object not found: <name>, orquery not found: <name>and the like with--type.--type, is not found. An object that exists but has no properties, such as MSysObjects, still prints nothing and exits 0.jetdb propfor the 2,105 tables of the test data are the same as before.🤖 Generated with Claude Code