summaryrefslogtreecommitdiff
path: root/testdata/integration/basic_functionality/reference_scope.in.osml
diff options
context:
space:
mode:
authorAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-04-16 01:12:21 +0200
committerAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2016-04-25 22:26:12 +0200
commit9cb054e69d19ddb225f0d49b0423c7182b40e1c5 (patch)
tree27416739207e0777a2ea643a906f2cef3e38d62f /testdata/integration/basic_functionality/reference_scope.in.osml
parent1e44e62ad33ac8e73af18de01b122e3c3198e438 (diff)
Add integration tests for reference functionality and id generation
Diffstat (limited to 'testdata/integration/basic_functionality/reference_scope.in.osml')
-rw-r--r--testdata/integration/basic_functionality/reference_scope.in.osml19
1 files changed, 19 insertions, 0 deletions
diff --git a/testdata/integration/basic_functionality/reference_scope.in.osml b/testdata/integration/basic_functionality/reference_scope.in.osml
new file mode 100644
index 0000000..6ddf8ff
--- /dev/null
+++ b/testdata/integration/basic_functionality/reference_scope.in.osml
@@ -0,0 +1,19 @@
+\import[ontology]{./ontologies/reference_tests.osml}
+\begin{test}
+ \begin{c}
+ \b{foo}
+ \b{foo2}
+ \a#foo
+ \end{c}
+ \begin{c}
+ \b{foo}
+ \a#foo
+ \end{c}
+ \begin{c}
+ % TODO: Getting ambiguous reference error here. This is still a bug!
+ %\b{foo}
+ \a#foo
+ \a#foo2
+ \end{c}
+ \a#foo2
+\end{test}