From 1b1cfd5566cf9eb5f478fb8ae1f44974ed04fd32 Mon Sep 17 00:00:00 2001 From: ArnaudBuchholz Date: Thu, 12 Dec 2019 13:02:55 -0500 Subject: [PATCH] Validates no extra characters (#326) --- test/xml/xpath.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/xml/xpath.js b/test/xml/xpath.js index ad35445d..8391b1c8 100644 --- a/test/xml/xpath.js +++ b/test/xml/xpath.js @@ -143,6 +143,8 @@ describe("xml/xpath", function () { } shouldFail(".test"); + shouldFail("test."); + shouldFail("test$"); shouldFail("///test"); shouldFail("..//test"); shouldFail(".//test || .//test");