Fixed merge error
This commit is contained in:
parent
0cf060e93d
commit
7e74992601
@ -35,17 +35,6 @@ class FileEnvelopeTest {
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
fun testFileWriteReadTagless() {
|
||||
Global.io.run {
|
||||
val tmpPath = Files.createTempFile("dataforge_test_tagless", ".df")
|
||||
writeEnvelopeFile(tmpPath, envelope, envelopeFormat = TaglessEnvelopeFormat)
|
||||
println(tmpPath.toUri())
|
||||
val restored: Envelope = readEnvelopeFile(tmpPath)!!
|
||||
assertTrue { envelope.contentEquals(restored) }
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
fun testFileWriteTagged() {
|
||||
val tmpPath = Files.createTempFile("dataforge_test", ".df")
|
||||
@ -65,14 +54,14 @@ class FileEnvelopeTest {
|
||||
@Test
|
||||
fun testFileWriteTagless() {
|
||||
val tmpPath = Files.createTempFile("dataforge_test", ".df")
|
||||
Global.io.writeEnvelopeFile(tmpPath, envelope, format = TaglessEnvelopeFormat)
|
||||
Global.io.writeEnvelopeFile(tmpPath, envelope, envelopeFormat = TaglessEnvelopeFormat)
|
||||
assertTrue { tmpPath.toFile().length() > 0 }
|
||||
}
|
||||
|
||||
@Test
|
||||
fun testFileWriteReadTagless() {
|
||||
val tmpPath = Files.createTempFile("dataforge_test", ".df")
|
||||
Global.io.writeEnvelopeFile(tmpPath, envelope, format = TaglessEnvelopeFormat)
|
||||
Global.io.writeEnvelopeFile(tmpPath, envelope, envelopeFormat = TaglessEnvelopeFormat)
|
||||
println(tmpPath.toUri())
|
||||
val restored: Envelope = Global.io.readEnvelopeFile(tmpPath)!!
|
||||
assertTrue { envelope.contentEquals(restored) }
|
||||
|
Loading…
Reference in New Issue
Block a user