Skip to content

Commit

Permalink
Polish Triggers and functions tests (#3554)
Browse files Browse the repository at this point in the history
Polish #3531 tests
  • Loading branch information
sazzad16 authored Sep 23, 2023
1 parent fae5fc6 commit eb6893a
Show file tree
Hide file tree
Showing 2 changed files with 85 additions and 88 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public GearsLibraryInfo build(Object data) {

String apiVersion = null;
List<String> clusterFunctions = Collections.emptyList();
String code = "";
String code = null;
String configuration = null;
String engine = null;
List<FunctionInfo> functions = Collections.emptyList();
Expand Down Expand Up @@ -156,7 +156,7 @@ public GearsLibraryInfo build(Object data) {
int offset = withCode ? 2 : 0;
apiVersion = STRING.build(list.get(1));
clusterFunctions = STRING_LIST.build(list.get(3));
code = withCode ? STRING.build(list.get(5)) : "";
code = withCode ? STRING.build(list.get(5)) : null;
configuration = STRING.build(list.get(5 + offset));
engine = STRING.build(list.get(7 + offset));
functions = FUNCTION_INFO_LIST.build(list.get(9 + offset));
Expand Down
Loading

0 comments on commit eb6893a

Please sign in to comment.