Remove 'selector-16' which the macos emoji picker inserts, and handle it being present

This commit is contained in:
2021-12-20 22:48:10 -08:00
parent c06ca5dad2
commit c7e09adba2
10 changed files with 130 additions and 65 deletions

View File

@@ -4,12 +4,12 @@ testGoodMessageShouldBeGreen() {
echo '
#!/usr/bin/env bash
hello() {
⚡hello() {
_good-message "hello"
}
' > go
echo "source $REPO_ROOT/⚡" >> go
echo "source $REPO_ROOT/⚡" >> go
chmod +x go
try ./go hello
@@ -20,12 +20,12 @@ testBadMessageShouldBeRed() {
echo '
#!/usr/bin/env bash
hello() {
⚡hello() {
_bad-message "hello"
}
' > go
echo "source $REPO_ROOT/⚡" >> go
echo "source $REPO_ROOT/⚡" >> go
chmod +x go
try ./go hello