@@ -24,7 +24,7 @@ using TestItemRunner
2424
2525 # using Logging; ConsoleLogger(stdout, Logging.Debug) |> global_logger
2626
27- data = [(;i, j= i/ 10 , s= string (' a' + i- 1 )^ i , d= Date (2000 + i, i, 2 i), dt= DateTime (2000 + i, i, 2 i, i, 3 i, 4 i)) for i in 1 : 10 ]
27+ data = [(;i, j= i/ 10 , s= string (' a' + i- 1 )^ (i - 1 ) , d= Date (2000 + i, i, 2 i), dt= DateTime (2000 + i, i, 2 i, i, 3 i, 4 i)) for i in 1 : 10 ]
2828
2929 @testset for db in [
3030 SQLite. DB (),
@@ -75,7 +75,7 @@ using TestItemRunner
7575 (@f map (@o (a= ifelse (_. i > 6 , 1 , 0 ),)) unique ()),
7676 # (@f unique(@o _.i > 6)),
7777 (@f map (@o (a= string (_. i, " %" ), b= string (" x: " , _. j) * " and" , c= string (" y: " , _. i* 10 , " kg" )))),
78- (@f map (@o (a= uppercase (_. s), b= lowercase (_. s * " XX" )))),
78+ (@f map (@o (a= uppercase (_. s), b= lowercase (_. s * " XX" ), c = isempty (_ . s) ))),
7979 (@f map (@o (a= startswith (_. s, " cc" ), b= endswith (_. s, " dd" ), d= occursin (" eee" , _. s), e= startswith (_. s, " a%" )))),
8080 ([DuckDB. DB], @f map (@o (a= occursin (" EeE" , _. s), b= replace (_. s, r" e+" => " xxx" ), c= replace (_. s, " e+" => " xxx" ), d= replace (_. s, " bb" => " xxx" )))),
8181 (@f map (@o (a= format (Format (" x %d" ), _. i),))),
0 commit comments