From 4f9982fe4e68f0a782fbb39037fba9d16fcbc1f2 Mon Sep 17 00:00:00 2001 From: Reedy Date: Wed, 27 Jan 2021 00:43:36 +0000 Subject: [PATCH] Add test case for space around - in IP range Change-Id: Ie4563a0b150a95a7c460f4f46066fd79a3b7f2fd --- tests/parserTests/ip-in-range.t | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/parserTests/ip-in-range.t b/tests/parserTests/ip-in-range.t index b6314593e..a58ad44e9 100644 --- a/tests/parserTests/ip-in-range.t +++ b/tests/parserTests/ip-in-range.t @@ -8,6 +8,7 @@ ip_in_range( '55.55.55.55', '55.55.0.0/16' ) === true & ip_in_range( '123.123.123.123', '123.123.123.123/32' ) === true & ip_in_range( '123.123.123.123', '123.123.123.123' ) === true & ip_in_range( '123.123.123.123', '123.0.0.0-124.0.0.0' ) === true & +ip_in_range( '123.123.123.123', '123.0.0.0 - 124.0.0.0' ) === true & ip_in_range( '123.123.123.123', '123.123.123.0-123.123.123.255' ) === true & ip_in_range( '123.123.123.123', '125.0.0.0-124.0.0.0' ) === false & ip_in_range( '11.11.11.11', '11.11.11.1' ) === false &