diff --git a/tests/queries/0_stateless/02366_kql_func_ip.reference b/tests/queries/0_stateless/02366_kql_func_ip.reference index 7c1d2907d5a8..b643ef614585 100644 --- a/tests/queries/0_stateless/02366_kql_func_ip.reference +++ b/tests/queries/0_stateless/02366_kql_func_ip.reference @@ -77,6 +77,7 @@ fe80:0000:0000:0000:085d:e82c:9446:7994 192.168.1.0/24 192.168.1.0/24 192.168.1.1/32 +192.168.1.0/24 1 1 -- parse_ipv6_mask() diff --git a/tests/queries/0_stateless/02366_kql_func_ip.sql b/tests/queries/0_stateless/02366_kql_func_ip.sql index 638aaf3a2b0f..650167af6dc8 100644 --- a/tests/queries/0_stateless/02366_kql_func_ip.sql +++ b/tests/queries/0_stateless/02366_kql_func_ip.sql @@ -83,6 +83,7 @@ print format_ipv4_mask('192.168.1.255', 24); print format_ipv4_mask(3232236031, 24); print format_ipv4_mask('192.168.1.1', 24); print format_ipv4_mask('192.168.1.1', 32); +print format_ipv4_mask('192.168.1.1/24', 32); print format_ipv4_mask('192.168.1.1/24', -1) == ''; print format_ipv4_mask('abc', 24) == ''; print '-- parse_ipv6_mask()';