Open NgManSing opened 3 years ago
My IDE showed the same test case failed as yours but it passed on Github.
I'm not sure if it's the right way to correct this issue, but I solved the problem by printing a '\n' character instead of a println.
For issues related to line-ending, please use the hack suggested by @heyjinwei; I will announce the same to the class.
Can any of you confirm if using System.out.print(,,, + "\n")
; passes locally on a Mac/Linux?
Same as #15 ?
My computer setup:
Exercise: Create Rectangle objects Expected output: "java.awt.Rectangle[x=0,y=0,width=5,height=10]"
I failed to run the tests althought my actual output is the same as the expected output.
The IDE keeps reporting that "contents have differences only in line separators".
What am I doing wrongly? :(