Relational Database - Bike Database

Step 1210 in Code Road for the Bike Database the test is wrong and the code fails to run with an error on the close of the if.

Solution.

Test is looking for 3 fi in a row without the comment a previous step asked for. Remove the # send to main menu comment and it works.

Bash script compile issue was because it did not accept a comment only in the if. Once you add a real command then the script worked.

Took a while to figure out how code road worked…where the tests were and to run the test through the AI for a check on what it was expecting.

Please fix for further students as everyone will get stuck on the same step for both reasons.

As a follow up…there are a few test issues with comments in the rest of the tutorial as well.

Just because a previous step ask you to add a comment doesn’t mean you should add that comment when it isn’t asked for though

Add a command so the test passes without errors.

Why? If you added something the instructions don’t ask for, the tests typically fail.