# Incorrect test descriptions #RA6 #GQ9

**URL:** https://forum.codecrafters.io/t/incorrect-test-descriptions-ra6-gq9/579
**Category:** Bug Reports
**Tags:** challenge:shell
**Created:** [June 1, 2024, 3:31am UTC](https://forum.codecrafters.io/t/incorrect-test-descriptions-ra6-gq9/579 "2024-06-01T03:31:48Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![welf](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/welf/32/449_2.png) [@welf](https://forum.codecrafters.io/u/welf)
#### Post date: [June 1, 2024, 3:31am UTC](https://forum.codecrafters.io/t/incorrect-test-descriptions-ra6-gq9/579/1 "2024-06-01T03:31:48Z")

</div>

There is an incorrect test description for #RA6 (see screenshots)

 ![Test description](https://canada1.discourse-cdn.com/flex003/uploads/codecrafters/original/1X/95a4baad5daca2726cb3654245dd2b155b6502e5.png)

---

<div class="post-metadata">

### Author: ![welf](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/welf/32/449_2.png) [@welf](https://forum.codecrafters.io/u/welf)
#### Post date: [June 1, 2024, 3:32am UTC](https://forum.codecrafters.io/t/incorrect-test-descriptions-ra6-gq9/579/2 "2024-06-01T03:32:32Z")

</div>

If you implement the feature according to the test description, test will fail:

 ![Test execution](https://canada1.discourse-cdn.com/flex003/uploads/codecrafters/original/1X/e52d1c515c8b90aedd785b413bd2e8d4b56212bd.png)

---

<div class="post-metadata">

### Author: ![welf](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/welf/32/449_2.png) [@welf](https://forum.codecrafters.io/u/welf)
#### Post date: [June 1, 2024, 4:18am UTC](https://forum.codecrafters.io/t/incorrect-test-descriptions-ra6-gq9/579/3 "2024-06-01T04:18:24Z")

</div>

The same is in #GQ9

 ![Test description](https://canada1.discourse-cdn.com/flex003/uploads/codecrafters/original/1X/9b0f6360cf98d104aba4a97c37dbd950fe47f624.png)

---

<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: [June 1, 2024, 10:30pm UTC](https://forum.codecrafters.io/t/incorrect-test-descriptions-ra6-gq9/579/4 "2024-06-01T22:30:32Z")

</div>

Same problem here.

> <https://github.com/codecrafters-io/shell-tester/issues/17>
>
> According to the \[task description\](https://app.codecrafters.io/courses/shell/st…ages/ra6):
> 
> \> It'll also check whether the message \`cd: \<directory\>: No such file or directory\` is printed if the provided path is invalid.
> 
> But the test currently is:
> 
> \`\`\`
> fmt.Sprintf("match %q", fmt.Sprintf(\`%s: No such file or directory\\n\`, directory))
> \`\`\`
> 
> It should be:
> 
> \`\`\`
> fmt.Sprintf("match %q", fmt.Sprintf(\`cd: %s: No such file or directory\\n\`, directory)),
> \`\`\`
> 
> PR #16

IMO, it’s the test (not the description) that should be fixed. Zsh behaves like this on my machine:

 ![image](https://canada1.discourse-cdn.com/flex003/uploads/codecrafters/original/1X/d9a11982b4a5dae435cac29eba07bf59a4f4d334.png)

---

<div class="post-metadata">

### Author: ![rohitpaulk](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/rohitpaulk/32/6_2.png) [@rohitpaulk](https://forum.codecrafters.io/u/rohitpaulk)
#### Post date: [June 2, 2024, 1:32pm UTC](https://forum.codecrafters.io/t/incorrect-test-descriptions-ra6-gq9/579/5 "2024-06-02T13:32:07Z")

</div>

Thanks for reporting, everyone!

Yep, this does seem like a mismatch between the description and tests. We’ve been running our tests against bash, zsh and dash - need to look into why this one succeeded against zsh (shouldn’t have?).

Will leave a note here once we’ve patched either the tests or the description!

---

<div class="post-metadata">

### Author: ![rohitpaulk](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/rohitpaulk/32/6_2.png) [@rohitpaulk](https://forum.codecrafters.io/u/rohitpaulk)
#### Post date: [December 25, 2024, 5:32pm UTC](https://forum.codecrafters.io/t/incorrect-test-descriptions-ra6-gq9/579/6 "2024-12-25T17:32:11Z")

</div>

I believe this has been fixed now, we just forgot to update the status here.

---

<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: [January 1, 2025, 5:32pm UTC](https://forum.codecrafters.io/t/incorrect-test-descriptions-ra6-gq9/579/7 "2025-01-01T17:32:58Z")

</div>

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