Skip to content
Snippets Groups Projects
Commit e3be1964 authored by gmantele's avatar gmantele
Browse files

[ADQL] Update a comment in TestFunctionDef

parent 770cfdec
No related branches found
No related tags found
No related merge requests found
...@@ -282,7 +282,7 @@ public class TestFunctionDef { ...@@ -282,7 +282,7 @@ public class TestFunctionDef {
// TEST :: With a function having the same name, but a different return type: [EQUAL} // TEST :: With a function having the same name, but a different return type: [EQUAL}
assertEquals(0, def1.compareTo(new FunctionDef("fct1", new DBType(DBDatatype.INTEGER)))); assertEquals(0, def1.compareTo(new FunctionDef("fct1", new DBType(DBDatatype.INTEGER))));
// TEST :: With a function having the same name, but 2 parameters: [LESS (4 characters: 0 against 1010)] // TEST :: With a function having the same name, but 2 parameters: [LESS (6 characters: ø against 100100)]
assertEquals(-6, def1.compareTo(new FunctionDef("fct1", new DBType(DBDatatype.INTEGER), new FunctionParam[]{new FunctionParam("foo", new DBType(DBDatatype.INTEGER)),new FunctionParam("foo", new DBType(DBDatatype.INTEGER))}))); assertEquals(-6, def1.compareTo(new FunctionDef("fct1", new DBType(DBDatatype.INTEGER), new FunctionParam[]{new FunctionParam("foo", new DBType(DBDatatype.INTEGER)),new FunctionParam("foo", new DBType(DBDatatype.INTEGER))})));
// DEFINITION 1 :: fct1(foo1 CHAR(12), foo2 DOUBLE) -> VARCHAR // DEFINITION 1 :: fct1(foo1 CHAR(12), foo2 DOUBLE) -> VARCHAR
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment