Skip to content

Commit

Permalink
expand test
Browse files Browse the repository at this point in the history
  • Loading branch information
hidetatz committed Sep 8, 2023
1 parent ae3f255 commit 6ccc6a2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tests/struct1.sb
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ p.setname("bob")
as("bob", p.getname())
as(4, p.age)

print("struct test succeeded")
print("struct1 test succeeded")
4 changes: 4 additions & 0 deletions tests/struct2.sb
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,9 @@ as("alice", p.name)
as(3, p.age)
p.birthday()
as(4, p.age)
as("alice", p.getname())
p.setname("bob")
as("bob", p.getname())
as(4, p.age)

print("struct2 test succeeded")

0 comments on commit 6ccc6a2

Please sign in to comment.