Stuck on ls-tree function

[tester::#KP1] Running tests for Stage #KP1 (Read a tree object)
[tester::#KP1] $ ./your_program.sh init
[your_program] Initialized git directory
[tester::#KP1] Writing a tree to git storage…
[tester::#KP1] $ ./your_program.sh ls-tree --name-only 313936348b6b4fa45f4441e4944e2b4e81c33a5f
[your_program] 96
[your_program] doo
[your_program] dooby
[tester::#KP1] Expected “donkey\ndoo\ndooby\n” as stdout, got: “96\ndoo\ndooby\n”
[tester::#KP1] Test failed
I am getting this error

@anoopmswork I added a few logs and ran your code, and it seems that it inadvertently printed out the size, which isn’t needed for this stage:

Let me know if you’d like further assistance!

Closing this thread due to inactivity. If you still need assistance, feel free to reopen or start a new discussion!

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.