# My out put seems to be correct but the tester calls it wrong

**URL:** <https://forum.codecrafters.io/t/my-out-put-seems-to-be-correct-but-the-tester-calls-it-wrong/1365>\
**Category:** Challenges\
**Tags:** challenge:interpreter\
**Created:** [August 10, 2024, 7:41pm UTC](https://forum.codecrafters.io/t/my-out-put-seems-to-be-correct-but-the-tester-calls-it-wrong/1365 "2024-08-10T19:41:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![NitinRana01125532553](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/nitinrana01125532553/32/1254_2.png) [@NitinRana01125532553](https://forum.codecrafters.io/u/NitinRana01125532553)\
**Post date:** [August 10, 2024, 7:41pm UTC](https://forum.codecrafters.io/t/my-out-put-seems-to-be-correct-but-the-tester-calls-it-wrong/1365/1 "2024-08-10T19:41:35Z")

</div>

I’m stuck on Stage #EY7.

My output seems to be correct

This is the input test case

```auto
remote: [tester::#EY7] [test-4] [test.lox] {
remote: [tester::#EY7] [test-4] [test.lox] // This is a complex test case
remote: [tester::#EY7] [test-4] [test.lox] str1 = "Test"<|SPACE|>str2 = "Case"
remote: [tester::#EY7] [test-4] [test.lox] num1 = 100
remote: [tester::#EY7] [test-4] [test.lox] num2 = 200.00
remote: [tester::#EY7] [test-4] [test.lox] result = (str1 == "Test" , str2 != "Fail") && (num1 + num2) >= 300 && (a - b) < 10
remote: [tester::#EY7] [test-4] [test.lox] }

```

this is the failed case:

```auto
remote: [tester::#EY7] [test-4] Expected line #1 on stderr to be "[line 7] Error: Unexpected character: &", got "[line 6] Error: Unexpected character: &"

```

but the error indeed is on Line 6 in order instead of Line 7, so my output seems correct, what am i missing here?

---

<div class="post-metadata">

**Author:** ![andy1li](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/andy1li/32/10_2.png) [@andy1li](https://forum.codecrafters.io/u/andy1li)\
**Post date:** [October 4, 2024, 2:25am UTC](https://forum.codecrafters.io/t/my-out-put-seems-to-be-correct-but-the-tester-calls-it-wrong/1365/3 "2024-10-04T02:25:54Z")

</div>

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

---

<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:** [October 9, 2024, 2:26am UTC](https://forum.codecrafters.io/t/my-out-put-seems-to-be-correct-but-the-tester-calls-it-wrong/1365/4 "2024-10-09T02:26:35Z")

</div>

Closed on October 9, 2024, 2:26am UTC

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