用junit 用assertEquals测试两个String 但是得到 AssertionFailedError求解junit.framework.AssertionFailedError: expected:<name: John Doe
total: $5235.99 OVTP
name: Mark Sloan
total: $5678.0
name: Joyce Hughs 
total: $7876.99 MNGR
name: Josh Gosling 
total: $2000.0> but was:<name: John Doe
total: $5235.99 OVTP
name: Mark Sloan
total: $5678.0
name: Joyce Hughs
total: $7876.99 MNGR
name: Josh Gosling
total: $2000.0>

后台输出是一模一样name: John Doe
total: $5235.99 OVTP
name: Mark Sloan
total: $5678.0
name: Joyce Hughs
total: $7876.99 MNGR
name: Josh Gosling
total: $2000.0
name: John Doe
total: $5235.99 OVTP
name: Mark Sloan
total: $5678.0
name: Joyce Hughs 
total: $7876.99 MNGR
name: Josh Gosling 
total: $2000.0