mirror of
https://github.com/lihop/godot-xterm.git
synced 2024-11-24 10:20:24 +01:00
Increase terminal test yield timeout
Wait a little longer for "bell" signal to be emitted.
This commit is contained in:
parent
b51cb06a30
commit
4a24c762a9
1 changed files with 3 additions and 3 deletions
|
@ -18,7 +18,7 @@ func test_bell() -> void:
|
|||
term.write("\a")
|
||||
term.write("\u0007")
|
||||
term.write("'Ask not for whom the \a tolls; it tolls for thee' - John Donne")
|
||||
yield(yield_to(term, "bell", 1), YIELD)
|
||||
yield(yield_to(term, "bell", 5), YIELD)
|
||||
assert_signal_emit_count(term, "bell", 5)
|
||||
|
||||
|
||||
|
@ -27,7 +27,7 @@ func test_bell_cooldown() -> void:
|
|||
term.bell_cooldown = 0.5
|
||||
term.write("\a")
|
||||
term.write("\a")
|
||||
yield(yield_for(0.5), YIELD)
|
||||
yield(yield_for(1), YIELD)
|
||||
term.write("\a")
|
||||
yield(yield_to(term, "bell", 1), YIELD)
|
||||
yield(yield_to(term, "bell", 5), YIELD)
|
||||
assert_signal_emit_count(term, "bell", 2)
|
||||
|
|
Loading…
Reference in a new issue