Skip to content

Commit

Permalink
tests: updated test code for objects rule
Browse files Browse the repository at this point in the history
FossilOrigin-Name: 0a1cd960e6ef6153b907490c629dcd895722146bee5c06c5564396589969c365
  • Loading branch information
thindil committed Apr 12, 2024
1 parent 4294918 commit e3744f4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/invalid/objects.nim
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
# Negative count: 0

type test = object
a: string
b, c: int
a: char
b, c: int8
4 changes: 2 additions & 2 deletions tests/valid/objects.nim
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Count: 0
# Negative count: 1
# Negative count: 2

type test = object
a: char
b, c*: int8
b, c*: int

0 comments on commit e3744f4

Please sign in to comment.