Skip to content

Commit

Permalink
#35: fixed errors after merge from master
Browse files Browse the repository at this point in the history
  • Loading branch information
AnastasiiaSergienko committed Apr 16, 2020
1 parent 1cb1259 commit 84bf043
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,6 @@ public String visit(final SqlFunctionScalarJsonValue function) throws AdapterExc
stringBuilder.append(" ");
stringBuilder.append(errorBehaviorExpression.get().accept(this));
}

stringBuilder.append(" ON ERROR)");
return stringBuilder.toString();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import static org.hamcrest.Matchers.equalTo;
import static org.mockito.Mockito.when;

import java.math.BigDecimal;
import java.util.*;

import org.junit.jupiter.api.BeforeAll;
Expand Down Expand Up @@ -105,6 +106,7 @@ void testVisitSqlPredicateIsNotNull() throws AdapterException {
new SqlPredicateIsNotNull(new SqlPredicateLess(new SqlLiteralExactnumeric(
BigDecimal.ONE), new SqlLiteralNull()));
assertThat(sqlGenerationVisitor.visit(sqlPredicateIsNotNull), equalTo("(1 < NULL) IS NOT NULL"));
}

@Test
void testVisitSqlLiteralDate() {
Expand Down

0 comments on commit 84bf043

Please sign in to comment.