mirror of
https://github.com/lightbend/config.git
synced 2025-01-24 19:30:06 +08:00
Fix ConfigMemorySizeTest.scala indentation
This commit is contained in:
parent
a73fe1f1e9
commit
db5e95c457
@ -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)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user