Unit Testing Failing in module 1 even though getting correct output for "print_home_directory.sh"

Been stuck for more than 2 hours. HELP

just look carefully between actual output and user output you will find the error yourself what is the error

I got the difference but when I try to run code in my workspace it gives me the correct output i.e the user output.

The ‘Actual Output’ is the correct output, the ‘User Output’ is what is generated by your code. So your code has to generate the ‘Actual Output’ shown above. Have a look at the TODO in print_directory_structure.sh, you’ll realize the problem.

1 Like

Thanks for the help.