Skip to content

Commit

Permalink
fix: revert change to stage list for zsh, add logging
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-gang committed Jan 21, 2025
1 parent 9df0d0a commit 9e0b0cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ endef
define _COMPLETION_STAGES
[ \
{"slug":"qp2","tester_log_prefix":"tester::#qp2","title":"Stage#1: builtins completion"}, \
{"slug":"gm9","tester_log_prefix":"tester::#gm9","title":"Stage#2: completion with args"}, \
{"slug":"qm8","tester_log_prefix":"tester::#qm8","title":"Stage#3: completion with invalid command"}, \
{"slug":"gy5","tester_log_prefix":"tester::#gy5","title":"Stage#4: valid command"}, \
{"slug":"wt6","tester_log_prefix":"tester::#wt6","title":"Stage#6: partial completions"} \
Expand Down Expand Up @@ -211,7 +212,6 @@ test_dash:

# Removes ALL zsh config files across the system
test_zsh:
zsh --version
make test_base_w_zsh
make test_nav_w_zsh
make test_quoting_w_zsh
Expand Down
2 changes: 1 addition & 1 deletion internal/assertions/single_line_assertion.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func (a SingleLineAssertion) Run(screenState [][]string, startRowIndex int) (pro

rawRow := screenState[startRowIndex]
cleanedRow := virtual_terminal.BuildCleanedRow(rawRow)

fmt.Printf("%q: %q\n", rawRow[:20], cleanedRow)
for _, pattern := range a.FallbackPatterns {
if pattern.Match([]byte(cleanedRow)) {
return processedRowCount, nil
Expand Down

0 comments on commit 9e0b0cd

Please sign in to comment.