e6ee1c8973c11312a9a75912b0e6f9adb3053465 kent Fri Aug 23 23:24:28 2019 -0700 Adding new function chop_range to test suite. diff --git src/tabFile/tabToTabDir/tests/input/spec.txt src/tabFile/tabToTabDir/tests/input/spec.txt index fd6cb4e..9714f47 100644 --- src/tabFile/tabToTabDir/tests/input/spec.txt +++ src/tabFile/tabToTabDir/tests/input/spec.txt @@ -1,22 +1,23 @@ 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) +mess3a chop_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")