Build Your Own BitTorrent C++ - tester error at #MN6

Code Base

At MN6, my code produced and even printed the correct result.

However the tester isn’t reading it for some reason:

[tester::#MN6] Running tests for Stage #MN6 (Decode bencoded dictionaries)
[tester::#MN6] Running ./your_bittorrent.sh decode de
[tester::#MN6] Expected output: {}
[your_program] -- Running vcpkg install
[your_program] All requested packages are currently installed.
[your_program] All requested installations completed successfully in: 56.7 us
[your_program] -- Running vcpkg install - done
[your_program] -- Configuring done (0.0s)
[your_program] -- Generating done (0.0s)
[your_program] -- Build files have been written to: /app/build
[your_program] [100%] Built target bittorrent
[your_program] {}
[tester::#MN6] Expected "{}\n" as stdout, got: "-- Running vcpkg install\nAll requested packages are currently installed.\nAll requested installations completed successfully in: 56.7 us\n-- Running vcpkg install - done\n-- Configuring done (0.0s)\n-- Generating done (0.0s)\n-- Build files have been written to: /app/build\n[100%] Built target bittorrent\n{}\n"
[tester::#MN6] Test failed

Hey @MonkeyBsness, I’ve pushed a fix to your repo, and you can run git pull to sync the changes.

Let me know if you’re still running into issues.

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