nus-cs2113-AY2324S1 / forum

0 stars 0 forks source link

runtest.bat not working as expected #19

Closed ziyi105 closed 12 months ago

ziyi105 commented 12 months ago

I have already crtl v ctrl c my actual output on EXPECTED.TXT, but for some reason I can never get the "no differences encountered" output. Anybody has any idea why?

image

okkhoy commented 12 months ago

this can mostly be due to the line ending.

  1. Please ensure you have git bash available on your machine (if it is Windows)
  2. Meet me after the lecture to resolve this issue.
ziyi105 commented 12 months ago

Hi Prof, I changed all System.out.print() and "\n" to System.out.println() according to your instruction and it's finally working! Thank you