From 5f6510e867ad8512a6915b55b17de36415e2fd84 Mon Sep 17 00:00:00 2001 From: Alvie Rahman Date: Sun, 7 Mar 2021 14:42:53 +0000 Subject: [PATCH] update tests --- test.sh | 2 +- tests/test_expected_output | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/test.sh b/test.sh index 0717231..bbcec61 100755 --- a/test.sh +++ b/test.sh @@ -1,3 +1,3 @@ #/usr/bin/env sh -cat tests/test_input | ./pymacro > tests/test_actual_output +./otfm-python -i tests/test_input -o tests/test_actual_output diff tests/test_actual_output tests/test_expected_output diff --git a/tests/test_expected_output b/tests/test_expected_output index 00f1abf..6f371a3 100644 --- a/tests/test_expected_output +++ b/tests/test_expected_output @@ -10,3 +10,12 @@ Chlorophyll is the site of photosynthesis. 1 hero 2 heroes 1 leaf 2 leaves 1 man 2 men + +This is a test of on the fly macroes! + +If this sentence makes sense, then the test of on the fly macroes worked! + +on the fly macroes can also be overwritten, +you could make it equal on the fly monkeys! + +They're not just any monkeys, they're on the fly monkeys!