Skip to content
Snippets Groups Projects
Commit fc44e099 authored by npedot's avatar npedot
Browse files

changes from double inc --> to <->

parent b58f1f77
No related branches found
No related tags found
No related merge requests found
......@@ -255,8 +255,8 @@ class Schema () {
// FIXME Use SchemaCmdParser
fun addDoubleInc(commandArgs:String):Schema {
val source:String = commandArgs.split("-->")[0]
val target:String = commandArgs.split("-->")[1]
val source:String = commandArgs.split("<->")[0]
val target:String = commandArgs.split("<->")[1]
val sourceTableName:String = source.split(":")[0]
val sourceAttributeNames = source.split(":")[1]
......
......@@ -214,7 +214,7 @@ class SchemaTest {
var schema = Schema()
assertEquals(0,schema.doubleIncs().size)
// when
schema.addDoubleInc("table4:DepName-->table4:DepAddress")
schema.addDoubleInc("table4:DepName<->table4:DepAddress")
// then
assertEquals(1,schema.doubleIncs().size)
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment