mirror of
https://github.com/encounter/ghidra-cli.git
synced 2026-07-10 03:18:56 -07:00
fix: correct comment_list test assertion to match actual output
The comment list output is a JSON array, not an object with a "comments" key. Changed assertion to check for the comment text we just set. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
68854a10d6
commit
50c922a058
@@ -91,7 +91,7 @@ fn test_comment_list() {
|
||||
.arg(TEST_PROGRAM)
|
||||
.assert()
|
||||
.success()
|
||||
.stdout(predicate::str::contains("comments"));
|
||||
.stdout(predicate::str::contains("another comment"));
|
||||
|
||||
drop(harness);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user