From f7ca40e128061c86834db62f4c68ef09fc2417da Mon Sep 17 00:00:00 2001 From: Nathaniel Landau Date: Fri, 6 Aug 2021 11:00:49 -0400 Subject: [PATCH] indent with two tabs --- test/textProcessing.bats | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/test/textProcessing.bats b/test/textProcessing.bats index 201fb98..f7e5bdb 100755 --- a/test/textProcessing.bats +++ b/test/textProcessing.bats @@ -93,12 +93,18 @@ _testCleanString_() { assert_output "I AM IN CAPS" } - @test "_cleanString_: remove spaces before/aftrer -_" { - run _cleanString_ "word - another- word- another-word" + @test "_cleanString_: remove spaces before/aftrer dashes" { + run _cleanString_ "word - another- word -another-word" assert_success assert_output "word-another-word-another-word" } + @test "_cleanString_: remove spaces before/aftrer underscores" { + run _cleanString_ "word _ another_ word _another_word" + assert_success + assert_output "word_another_word_another_word" + } + @test "_cleanString_: alnum" { run _cleanString_ -a " !@#$%^%& i am in caps 12345 == " assert_success