Skip to content

Commit 0e472da

Browse files
committed
fix failing test
1 parent caf2b42 commit 0e472da

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

plugins/warp/tests/test-hooks.sh

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -215,13 +215,6 @@ assert_eq "legacy Warp shows active message" \
215215
"🔔 Warp plugin active. You'll receive native Warp notifications when tasks complete or input is needed." \
216216
"$SYS_MSG"
217217

218-
# Not Warp (neither env var set)
219-
OUTPUT=$(TERM_PROGRAM=other bash "$HOOK_DIR/on-session-start.sh" < /dev/null 2>/dev/null)
220-
SYS_MSG=$(echo "$OUTPUT" | jq -r '.systemMessage // empty' 2>/dev/null)
221-
assert_eq "non-Warp shows install message" \
222-
"ℹ️ Warp plugin installed but you're not running in Warp terminal. Install Warp (https://warp.dev) to get native notifications when Claude completes tasks or needs input." \
223-
"$SYS_MSG"
224-
225218
echo ""
226219
echo "--- Modern-only hooks exit silently without protocol version ---"
227220

0 commit comments

Comments
 (0)