From 702208e54132477eeff922ebf641ba56540b9456 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 25 Jan 2011 00:08:48 +0000 Subject: Fix parsing of numbers that begin with a `.'. Add number parsing test case. git-svn-id: http://svn.drobilla.net/serd/trunk@56 490d8e77-9747-427b-9fa3-0b8f29cee8a0 --- tests/test-num.ttl | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 tests/test-num.ttl (limited to 'tests/test-num.ttl') diff --git a/tests/test-num.ttl b/tests/test-num.ttl new file mode 100644 index 00000000..086ca5ab --- /dev/null +++ b/tests/test-num.ttl @@ -0,0 +1,9 @@ +@prefix eg: . + +eg:thing eg:num 0.1 . +eg:thing eg:num +0.2 . +eg:thing eg:num -0.3 . +eg:thing eg:num .4 . +eg:thing eg:num +.5 . +eg:thing eg:num -.6 . + -- cgit v1.2.1