1/4 Assessment mainReadFile() Test case is failing

I have not hardcoded any code. Trying to debug the error past 12 hours.
1/4 test case is always failing, I have submitted my code many with different approaches, can’t the problem fixed.
Unit testing file:
2020-02-29 05:27:11,196 unitTesting INFO Running gradle test
2020-02-29 05:27:32,068 unitTesting INFO Gradle test run complete
2020-02-29 05:27:32,071 unitTesting INFO Build failed

Build is successfull with gradlew


Can you please use the debugger and run each test separately and check which test is actually failing?

This is about Module 1, your answer isn’t relevant for Module 1.

My bad have’nt noticed that

Debugger is passing all the test. Final assessment is failing.

Hey @Sagar909 possible reasons for failing

  1. you have hardcoded values that’s why passing on VM but failing in assesment
  2. Logic Is incorrect

i am not able to find your crio-id which you are using for ME that’s why i am not able to see your code logic provide your crio-id (DM me).

Id: sagar.1721cs1174@kiet.edu

Sir please look into my code, i have been stuck on the issue 2 days now.

Hey @Sagar909 i have just seen your code as i have said earlier you are doing things which are unnecessary you are defining your logic into wrong function you have to write your whole logic into mainReadFile() function and return a list of strings which contains symbols.

Thanks Sir. All the test cases passed successfully, Since i coded a in the wrong function it a required a lot of unnecessary code. Got my mistake. Thanks again.