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 {
@Test
def testEquals() {
assertTrue("Equal ConfigMemorySize are equal",
ConfigMemorySize.ofBytes(10).equals(ConfigMemorySize.ofBytes(10)))
assertTrue("Different ConfigMemorySize are not equal",
!ConfigMemorySize.ofBytes(10).equals(ConfigMemorySize.ofBytes(11)))
}
@Test
def testEquals() {
assertTrue("Equal ConfigMemorySize are equal",
ConfigMemorySize.ofBytes(10).equals(ConfigMemorySize.ofBytes(10)))
assertTrue("Different ConfigMemorySize are not equal",
!ConfigMemorySize.ofBytes(10).equals(ConfigMemorySize.ofBytes(11)))
}
@Test
def testToUnits() {
val kilobyte = ConfigMemorySize.ofBytes(1024)
assertEquals(1024, kilobyte.toBytes)
}
@Test
def testToUnits() {
val kilobyte = ConfigMemorySize.ofBytes(1024)
assertEquals(1024, kilobyte.toBytes)
}
}