Fixed Log with respect to variations
This commit is contained in:
@ -39,7 +39,7 @@ class LogTest {
|
||||
*/
|
||||
@Test
|
||||
void testClone() {
|
||||
Log other = (Log) log.clone();
|
||||
Log other = new Log(log);
|
||||
log.setActiveColor(Color.WHITE);
|
||||
other.setActiveColor(Color.BLACK);
|
||||
assertNotEquals(other.getActiveColor(), log.getActiveColor());
|
||||
|
Reference in New Issue
Block a user