diff --git a/sandbox/contributions/javascript/queryValidator/testQueryValidator.html b/sandbox/contributions/javascript/queryValidator/testQueryValidator.html index 5c41f20cbc3..b92e1e7b85a 100644 --- a/sandbox/contributions/javascript/queryValidator/testQueryValidator.html +++ b/sandbox/contributions/javascript/queryValidator/testQueryValidator.html @@ -57,6 +57,12 @@ function testCheckAsterisk() query = "bar* *bar"; assertFalse(query, checkAsterisk(query)); + query = "*"; + assertFalse(query, checkAsterisk(query)); + + query = "*bar"; + assertFalse(query, checkAsterisk(query)); + // test with a space in front query = " *bar"; assertFalse(query, checkAsterisk(query));