3175d1a6542ccdaea84a293eaa15375ffb965de0 kent Sat Aug 17 13:05:28 2019 -0700 Adding warn() test case. diff --git src/tabFile/tabToTabDir/tests/input/spec.txt src/tabFile/tabToTabDir/tests/input/spec.txt index 708e4da..665b121 100644 --- src/tabFile/tabToTabDir/tests/input/spec.txt +++ src/tabFile/tabToTabDir/tests/input/spec.txt @@ -1,28 +1,29 @@ define messy "big messy string messy very messy with many messy parts" tidy "tidy string" complex split(messy,4) table var_test id 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("abc", "d") ? "D is cond" : ends("abc", "b") ? "B is cond" : ends("abc", "c") ? "C is cond" : "unmatched") id "constant ID" symboled symbol("ID_", "constant ID") pickedNum pick( 0? 0:"zero", 1:"one") pickedString pick("a"? "b": "beta", "a": "alpha") lowered lower("NotMixedCase") uppered upper("NotMixedCase") stripped strip("constant ID", " aeiou") sub_day_of_month separate(submission_date, '-', 2)