I can pass the test case of this stage but it’s failing the previous test case because the output is different. For example, if a command was found, the previous test case expected “XXX is a shell builtin” but this stage requires “XXX is Path to the XXX”. It’s impossible to pass both test cases.
Hi @yunpengxiao, your code should prioritize checking built-in commands first. This ensures that even if echo or other commands exist in your PATH, the built-in version is found first:
Here’s a demo using zsh for reference:
Oh, Thx! I got it.

