Renaming test files according to their language (#3407)

This commit is contained in:
mattsmida 2024-05-01 14:28:07 -04:00 committed by GitHub
parent 43ca74549d
commit ef9613e2d6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
178 changed files with 171 additions and 169 deletions

14
test/tw-2581.test.sh Executable file
View file

@ -0,0 +1,14 @@
#!/usr/bin/env bash
# Test setting configuration variable with a trailing comment works
. bash_tap_tw.sh
# Add configuration variable with a trailing comment into taskrc
echo 'weekstart=Monday # Europe standard' >> taskrc
cat taskrc
# Use config the change the value to "Sunday"
task config weekstart Sunday
# Ensure the comment was preserved and value changed
cat taskrc | grep weekstart=Sunday
[[ `cat taskrc | grep weekstart=Sunday` == 'weekstart=Sunday # Europe standard' ]]