diff options
author | Sebastien Vauban <sva@mygooglest.com> | 2011-09-16 12:07:19 +0200 |
---|---|---|
committer | Eric Schulte <schulte.eric@gmail.com> | 2011-09-16 09:52:34 -0600 |
commit | cd05d152cfd3c1f5ea7e6e9a80ec71147b46ac30 (patch) | |
tree | ab9de88ae63561fc29f6d5cb4f20a2e4d492a581 | |
parent | fefff8ec8713b5536725765f4875355b13cc9674 (diff) | |
download | org-mode-cd05d152cfd3c1f5ea7e6e9a80ec71147b46ac30.tar.gz |
Add test checking that any variable declared with no default value will generate a proper error message.
-rw-r--r-- | testing/examples/babel.org | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/examples/babel.org b/testing/examples/babel.org index b892124..82dd8ee 100644 --- a/testing/examples/babel.org +++ b/testing/examples/babel.org @@ -307,3 +307,16 @@ src_sh{echo 2} blocks on the src_emacs-lisp{"same"} line #+results: [[file:./cv.cls]] + +* no default value for vars + :PROPERTIES: + :ID: f2df5ba6-75fa-4e6b-8441-65ed84963627 + :END: + +There is no default value assigned to =x= variable. This is not permitted +anymore. + +#+source: carre(x) +#+begin_src python + return x*x +#+end_src |