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: 44b2881c5b7b1fdfd988724e11b2564412a32c515f928bb0a98ad659fce86623
  • Loading branch information
thindil committed Apr 11, 2024
1 parent 7077335 commit 7756985
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/invalid/objects.nim
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Count: 1
# Count: 2
# Negative count: 0

type test = object
Expand Down
4 changes: 2 additions & 2 deletions tests/valid/objects.nim
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
# Negative count: 1

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

0 comments on commit 7756985

Please sign in to comment.