79e6c7b11fff9c27f611e1969a0a79be5fa89921 kent Fri Aug 23 23:22:45 2019 -0700 Adding new function word_range to test suite. diff --git src/tabFile/tabToTabDir/tests/input/spec.txt src/tabFile/tabToTabDir/tests/input/spec.txt index ff1ffde..fd6cb4e 100644 --- src/tabFile/tabToTabDir/tests/input/spec.txt +++ src/tabFile/tabToTabDir/tests/input/spec.txt @@ -1,21 +1,25 @@ define messy "big messy string messy very messy with many messy parts" tidy "tidy string" complex word(messy,4) table var_test id +mess3 word_range(messy,0,3) +mess2end word_range(messy,-2,99999) +mess_mid word_range(messy, 3, -3) +letMes letter_range(messy, 4, 7) x complex + " complex" id tidy less_messy tidy("messy ", messy, " very") mangled_date symbol("DATE_", submission_date) messy messy table a_strex_test id tooLoud warn("this is a test of the warning system") untidy "big messy string with messy parts" tidyStart tidy("messy ", "big messy string with messy parts", "") tidyEnd tidy("", "big messy string with messy parts", " messy") tidyBoth tidy("messy ", "big messy string with messy parts", " messy") yes ( same("a", "a") ? "yes" : "no") no ( same("a", "b") ? "yes" : "no") cond ( ends_with("abc", "d") ? "D is cond" : ends_with("abc", "b") ? "B is cond" : ends_with("abc", "c") ? "C is cond" : "unmatched")