Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sample code is not working #17

Open
workplaylifecycle opened this issue Jul 27, 2019 · 2 comments
Open

sample code is not working #17

workplaylifecycle opened this issue Jul 27, 2019 · 2 comments

Comments

@workplaylifecycle
Copy link

workplaylifecycle commented Jul 27, 2019

sample code here those sample code can not run test, something like issue asked on stackoverflow, is there anyone knows the issue? thanks

@workplaylifecycle
Copy link
Author

ok, forget about it, I think it's package version conflict issue, I just cloned the total github project, then better, but for this test (link: https://raw.githubusercontent.com/habuma/spring-in-action-4-samples/master/Chapter_02/stereo-autoconfig/src/test/java/soundsystem/CDPlayerTest.java) raw.githubusercontent.com/habuma/spring-…, mac os x passed while windows failed, both IntelliJ IDEA

@workplaylifecycle
Copy link
Author

org.junit.ComparisonFailure: expected:<... Band by The Beatles[]

but was:<... Band by The Beatles[
]

at org.junit.Assert.assertEquals(Assert.java:115)
at org.junit.Assert.assertEquals(Assert.java:144)
at soundsystem.CDPlayerTest.play(CDPlayerTest.java:34)

org.junit.contrib.java.lang.system.StandardOutputStreamLog#getLog(), this guy, I think it has different behavior between Max OS X and Windows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant