summaryrefslogtreecommitdiffstats
path: root/tests/dimension
diff options
context:
space:
mode:
Diffstat (limited to 'tests/dimension')
-rw-r--r--tests/dimension/directives.pov2
-rwxr-xr-xtests/dimension/directives.sh3
2 files changed, 4 insertions, 1 deletions
diff --git a/tests/dimension/directives.pov b/tests/dimension/directives.pov
index c6ac07b..b621709 100644
--- a/tests/dimension/directives.pov
+++ b/tests/dimension/directives.pov
@@ -19,6 +19,8 @@
// Test the language directives
+#version 3.6;
+
#declare Center = 0;
#declare R = 1;
#local Color = rgb <1, 0, 1>;
diff --git a/tests/dimension/directives.sh b/tests/dimension/directives.sh
index 9152d2f..8d0bbb9 100755
--- a/tests/dimension/directives.sh
+++ b/tests/dimension/directives.sh
@@ -21,7 +21,8 @@
directives=$(${top_builddir}/dimension/dimension --tokenize --parse ${srcdir}/directives.pov)
directives_exp="$(echo -n \
-'(#declare (identifier "Center") = (integer "0") ;
+'(#version (float "3.6") ;
+ #declare (identifier "Center") = (integer "0") ;
#declare (identifier "R") = (integer "1") ;
#local (identifier "Color") = rgb < (integer "1") , (integer "0") , (integer "1") > ;
#declare (identifier "Unused") = - (integer "1") ;