summaryrefslogtreecommitdiff
path: root/paper/lua-filters/track-changes/test-track-changes.sh
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2019-08-14 19:12:37 +0200
committerChristoph Helma <helma@in-silico.ch>2019-08-14 19:12:37 +0200
commitb6ad21e340bce9ba2a2ad09fe48c656f0c2e3905 (patch)
tree6a248cfe29fb720491559e5973d8c1f1904bcc33 /paper/lua-filters/track-changes/test-track-changes.sh
parent9a217185e791d6abbe46549cd4e87c1d1a643c05 (diff)
directory reorganization, evaluation scripts for R CVs
Diffstat (limited to 'paper/lua-filters/track-changes/test-track-changes.sh')
-rw-r--r--paper/lua-filters/track-changes/test-track-changes.sh25
1 files changed, 0 insertions, 25 deletions
diff --git a/paper/lua-filters/track-changes/test-track-changes.sh b/paper/lua-filters/track-changes/test-track-changes.sh
deleted file mode 100644
index b7074ef..0000000
--- a/paper/lua-filters/track-changes/test-track-changes.sh
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/sh
-
-latex_result="$(cat -)"
-
-assert_contains ()
-{
- printf '%s' "$latex_result" | grep -qF "$1" -
- if [ $? -ne 0 ]; then
- printf 'Output does not contain `%s`.\n' "$1" >&2
- exit 1
- fi
-}
-
-# whether we are using the change package
-assert_contains <<EOF
-\usepackage{changes}
-EOF
-
-# Author colors
-assert_contains '\definechangesauthor[name={JFK}, color=auth2]{JFK}'
-
-# Additions, notes, and deletions
-assert_contains <<EOF
-Here is a \note[id=JFK]{Why?}\hlnote{com\added[id=SWS]{m}ent with nest\deleted[id=FKA]{t}ed changes}.
-EOF