mirror of
https://github.com/lihop/godot-xterm.git
synced 2025-05-06 20:55:31 +02:00
feat(pty): rename get_pts() -> get_pts_name()
This commit is contained in:
parent
c6609ebae5
commit
b78bdf3136
4 changed files with 12 additions and 11 deletions
|
@ -43,7 +43,7 @@ func test_open_pty_has_correct_name():
|
|||
var new_pts = helper.get_pts()
|
||||
for pt in original_pts:
|
||||
new_pts.erase(pt)
|
||||
assert_eq(subject.get_pts(), new_pts[0])
|
||||
assert_eq(subject.get_pts_name(), new_pts[0])
|
||||
|
||||
|
||||
func xtest_open_pty_has_correct_win_size():
|
||||
|
|
|
@ -11,8 +11,6 @@ func get_described_class():
|
|||
class TestInterface:
|
||||
extends PTYTest
|
||||
|
||||
## API V2.
|
||||
|
||||
# Properties.
|
||||
|
||||
# TODO: Implement cols property.
|
||||
|
@ -46,6 +44,9 @@ class TestInterface:
|
|||
func test_has_method_open():
|
||||
assert_has_method_with_return_type("open", TYPE_INT)
|
||||
|
||||
func test_has_method_get_pts_name():
|
||||
assert_has_method_with_return_type("get_pts_name", TYPE_STRING)
|
||||
|
||||
func test_has_method_resize():
|
||||
assert_has_method_with_return_type("resize", TYPE_NIL)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue