summaryrefslogtreecommitdiff
path: root/testdata/integration/user_defined_syntax/simple_short_token.in.osml
diff options
context:
space:
mode:
authorAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-04-01 23:34:18 +0200
committerAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2016-04-25 22:19:29 +0200
commitb593ecdd3486f4541c0bcd68beec9146d78813a2 (patch)
treee94a9429f90298119474516f22a28eb0afb99d3b /testdata/integration/user_defined_syntax/simple_short_token.in.osml
parente03ab48ced82a1eddd3e99b6c34ed6dc617af0f6 (diff)
Add first integration tests
* "poem" contains a nice use case for user defined syntax that still needs to be implemented (indent and dedent as open/close tag) * "simple_short_token" triggers a non-deterministic bug that is not caught by valgrind * "wikilike" contains various user defined syntax tests as well as the not yet implemented per-field user defined syntax
Diffstat (limited to 'testdata/integration/user_defined_syntax/simple_short_token.in.osml')
-rw-r--r--testdata/integration/user_defined_syntax/simple_short_token.in.osml17
1 files changed, 17 insertions, 0 deletions
diff --git a/testdata/integration/user_defined_syntax/simple_short_token.in.osml b/testdata/integration/user_defined_syntax/simple_short_token.in.osml
new file mode 100644
index 0000000..ef12a98
--- /dev/null
+++ b/testdata/integration/user_defined_syntax/simple_short_token.in.osml
@@ -0,0 +1,17 @@
+\document
+\ontology#test{
+ \struct#a[root=true]
+ \field
+ \childRef[ref=b]
+ \childRef[ref=c]
+ \struct#b
+ \syntax
+ \short{!=}
+ \struct#c
+ \syntax
+ \short{=}
+}
+
+\begin{a}
+=
+\end{a}