summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorNick Wellnhofer <wellnhofer@aevum.de>2023-01-18 15:15:41 +0100
committerNick Wellnhofer <wellnhofer@aevum.de>2023-01-18 15:15:41 +0100
commit608c65bb8ebfc12763aee1cc1f3778e17d71596e (patch)
tree422cbba50365fe33e34e83ff61859f23b8111417 /test
parentbbb2b8f1360ee75a306a4dd1dae9e055cfe20125 (diff)
downloadlibxml2-608c65bb8ebfc12763aee1cc1f3778e17d71596e.tar.gz
xpath: number('-') should return NaN
Fixes https://gitlab.gnome.org/GNOME/libxslt/-/issues/81
Diffstat (limited to 'test')
-rw-r--r--test/XPath/expr/functions1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/XPath/expr/functions b/test/XPath/expr/functions
index 00b9461f..6008a07f 100644
--- a/test/XPath/expr/functions
+++ b/test/XPath/expr/functions
@@ -3,6 +3,7 @@ false()
number("1.5")
number('abc')
-number('abc')
+number('-')
floor(0.1)
floor(-0.1)
floor(-0)