Closed flyingsalsa closed 2 weeks ago
I realised in the expected text file, they seem to trim the trailing spaces when u save the file. One way to fix this would be to format the code for ur printing method and remove any spaces before the line break
public void formatPrint(String string) {
System.out.println(string + ā\nā);
}
Instead of
public void formatPrint(String string) {
System.out.println(string + ā \nā);
}
@flyingsalsa let us know if @RezwanAhmed123's suggestion worked or if the issue still persists.
Ah I just tried it out and it worked! closing now ty
Ah I just tried it out and it worked!
šÆ Bulls eye, @RezwanAhmed123 Nice!
Why does the FC command in the bat file highlight my text art as differing in the expected and actual file? I copied it from my output and put in the expected text.
it would appear there are some missing spaces in some lines of the expected.txt which are in the Actual.txt but if I copy them over to the expected text they disappear after I run the runtest.bat. Any ideas on how to fix this would be appreciated!