Fix ConfigMemorySizeTest.scala indentation

This commit is contained in:
Havoc Pennington 2015-02-26 09:17:41 -05:00
parent a73fe1f1e9
commit db5e95c457

View File

@ -9,17 +9,17 @@ import com.typesafe.config.ConfigMemorySize
class ConfigMemorySizeTest extends TestUtils { class ConfigMemorySizeTest extends TestUtils {
@Test @Test
def testEquals() { def testEquals() {
assertTrue("Equal ConfigMemorySize are equal", assertTrue("Equal ConfigMemorySize are equal",
ConfigMemorySize.ofBytes(10).equals(ConfigMemorySize.ofBytes(10))) ConfigMemorySize.ofBytes(10).equals(ConfigMemorySize.ofBytes(10)))
assertTrue("Different ConfigMemorySize are not equal", assertTrue("Different ConfigMemorySize are not equal",
!ConfigMemorySize.ofBytes(10).equals(ConfigMemorySize.ofBytes(11))) !ConfigMemorySize.ofBytes(10).equals(ConfigMemorySize.ofBytes(11)))
} }
@Test @Test
def testToUnits() { def testToUnits() {
val kilobyte = ConfigMemorySize.ofBytes(1024) val kilobyte = ConfigMemorySize.ofBytes(1024)
assertEquals(1024, kilobyte.toBytes) assertEquals(1024, kilobyte.toBytes)
} }
} }