Skip to content

Commit

Permalink
[INLONG-10883][SDK] Transform SQL support InitCap function
Browse files Browse the repository at this point in the history
fix unit test bug:return "" if params null
  • Loading branch information
MOONSakura0614 committed Sep 22, 2024
1 parent de5d6a6 commit 39cb229
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,6 @@ public void testInitCapFunction() throws Exception {
// case3: initcap(null)
List<String> output3 = processor2.transform("apache inLong", new HashMap<>());
Assert.assertEquals(1, output3.size());
Assert.assertEquals(output3.get(0), "result=null");
Assert.assertEquals(output3.get(0), "result=");
}
}

0 comments on commit 39cb229

Please sign in to comment.