# | Line 132 | Line 132 | public class AtomicBooleanTest extends J | |
---|---|---|
132 | */ | |
133 | public void testToString() { | |
134 | AtomicBoolean ai = new AtomicBoolean(); | |
135 | < | assertEquals(ai.toString(), Boolean.toString(false)); |
135 | > | assertEquals(Boolean.toString(false), ai.toString()); |
136 | ai.set(true); | |
137 | < | assertEquals(ai.toString(), Boolean.toString(true)); |
137 | > | assertEquals(Boolean.toString(true), ai.toString()); |
138 | } | |
139 | ||
140 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |