Commit d12e889
committed
test(cli): align hook tests with non-blocking matcher (Grep|Glob)
The cli_upsert_claude_hook_fresh / _existing tests still asserted the
old matcher 'Grep|Glob|Read', missed by the previous hook-augment
commit. Update them to mirror what scripts/smoke-test.sh now enforces:
exact matcher value '"Grep|Glob"' present AND 'Glob|Read' absent.
The second assertion regress-protects against re-introducing Read
into the matcher (issue #362).1 parent c29e6d5 commit d12e889
1 file changed
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1907 | 1907 | | |
1908 | 1908 | | |
1909 | 1909 | | |
1910 | | - | |
| 1910 | + | |
| 1911 | + | |
| 1912 | + | |
| 1913 | + | |
| 1914 | + | |
1911 | 1915 | | |
1912 | 1916 | | |
1913 | 1917 | | |
| |||
1932 | 1936 | | |
1933 | 1937 | | |
1934 | 1938 | | |
1935 | | - | |
1936 | | - | |
| 1939 | + | |
| 1940 | + | |
| 1941 | + | |
1937 | 1942 | | |
1938 | 1943 | | |
1939 | 1944 | | |
| |||
0 commit comments