GQ9 paased earlier but even though that code is unchanged and I wrote new code for NI6, GQ9 fails and NI6 after passing show failed

I’m stuck on Stage #GQ9.

I’ve tried … the dollar sign is printed before taking the input bit it’s shown at the result time.

Here are my logs:

$ cd ./raspberry/pear
remote: [tester::#GQ9] Output does not match expected value.
remote: [tester::#GQ9] Expected: "$ pwd"
remote: [tester::#GQ9] Received: "pwd"
remote: [your-program] pwd
remote: [your-program] $ /tmp/mango/raspberry/pear
remote: [your-program] $

And here’s a snippet of my input code:

System.out.print("$ ");
String input = scanner.nextLine();


// Current path is stored so it's directly printed
if(input.contains("pwd")) {
  System.out.println(currpath);
}

Hi @codesbyayush, could you upload your code to GitHub and share the link? It will be much easier to debug if I can run it directly.

It’s the issue with some input I think cause i ran it without any changes just now and all tests passed

We fixed the issue in this PR. Let us know if it’s persisting for you.

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