Skip to content

Commit

Permalink
Update example.gd
Browse files Browse the repository at this point in the history
fix example
  • Loading branch information
glaxxie committed Mar 6, 2024
1 parent b3f7b89 commit 9987f72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exercises/practice/bob/.meta/example.gd
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ func response(greeting):
test_chars.compile("\\p{L}")

var is_silence = trimmed.is_empty()
var is_yelling = test_chars.search(trimmed)
var is_yelling = test_chars.search(trimmed) && (trimmed.to_upper() == trimmed)
var is_question = trimmed.ends_with("?")

if is_yelling && is_question: return "Calm down, I know what I'm doing!"
Expand Down

0 comments on commit 9987f72

Please sign in to comment.