# \#FI9 Different Expectation

**URL:** https://forum.codecrafters.io/t/fi9-different-expectation/9471
**Category:** Challenges
**Tags:** challenge:bittorrent
**Created:** [April 27, 2025, 9:16am UTC](https://forum.codecrafters.io/t/fi9-different-expectation/9471 "2025-04-27T09:16:15Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![routineyfans](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/routineyfans/32/9693_2.png) [@routineyfans](https://forum.codecrafters.io/u/routineyfans)
#### Post date: [April 27, 2025, 9:16am UTC](https://forum.codecrafters.io/t/fi9-different-expectation/9471/1 "2025-04-27T09:16:15Z")

</div>

why tester shows,

```auto
remote: [your_program] 165.232.41.73:51556
remote: [your_program] 165.232.38.164:51493
remote: [your_program] 165.232.35.114:51476
remote: [tester::#FI9] Expected stdout to contain "106.72.196.0:41485", got: "165.232.41.73:51556\n165.232.38.164:51493\n165.232.35.114:51476\n"
remote: [tester::#FI9] Test failed

```

when in the description itself, expectation is this,

```auto
165.232.41.73:51556
165.232.38.164:51493
165.232.35.114:51476

```

---

<div class="post-metadata">

### Author: ![sarp](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/sarp/32/1082_2.png) [@sarp](https://forum.codecrafters.io/u/sarp)
#### Post date: [April 27, 2025, 12:24pm UTC](https://forum.codecrafters.io/t/fi9-different-expectation/9471/4 "2025-04-27T12:24:19Z")

</div>

Hi routineyfans,  
The descriptions states the expected output when `sample.torrent` is used  
The tester checks additional torrent files to prevent hardcoding of results

Did you find it confusing? I agree that the wording can be misleading

---

<div class="post-metadata">

### Author: ![routineyfans](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/routineyfans/32/9693_2.png) [@routineyfans](https://forum.codecrafters.io/u/routineyfans)
#### Post date: [April 27, 2025, 3:41pm UTC](https://forum.codecrafters.io/t/fi9-different-expectation/9471/6 "2025-04-27T15:41:50Z")

</div>

Thanks i forgot to replace `sample.torrent` with `&args[2]`

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex003/uploads/codecrafters/original/3X/7/0/700657133935c15703e22c7c8870394f6e6dc27d.svg) [@system](https://forum.codecrafters.io/u/system)
#### Post date: [May 4, 2025, 7:36pm UTC](https://forum.codecrafters.io/t/fi9-different-expectation/9471/7 "2025-05-04T19:36:18Z")

</div>

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