Repository navigation
tests: five tests pass under Git for Windows - #43
Merged
Merged
Conversation
…tools are wrappers, and a path's carriage return may be gone before it prints Five tests failed under Git Bash on Windows and passed on Linux and macOS. No script changed. - check-ai-policy, file-pr, inbox: the PATH built without jq left out a file named jq, and on Windows the file is jq.exe. - gate-hook: ln -s copies there, and a copied date.exe or mkdir.exe cannot load its library from a bare directory, so the log line was not written. - policy-reading: that grep deletes a carriage return, so the path prints as docs/ab/ and not docs/a b/. Either is accepted, and the test now says outright that no carriage return reaches the printout. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017hq6XNp9FxstpNMaDMi3FS
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.
Five tests failed under Git Bash on Windows and passed on Linux and macOS. No script changed, so the released 0.21.0 is untouched.
test-check-ai-policy,test-file-pr,test-inbox: the PATH built without jq left out a file namedjq, and on Windows the file isjq.exe.test-gate-hook:ln -scopies there, and a copieddate.exeormkdir.execannot load its library from a bare directory, so the log line was not written. The fixture writes wrappers.test-policy-reading: thatgrepdeletes a carriage return, so the path prints asdocs/ab/and notdocs/a b/. Either is accepted, and the test now says outright that no carriage return reaches the printout.The CI shellcheck command passes locally. The local Windows rerun of the five tests was still running when this was opened.
🤖 Generated with Claude Code
https://claude.ai/code/session_017hq6XNp9FxstpNMaDMi3FS