summary refs log tree commit diff stats
path: root/tests/objects/tobject.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/objects/tobject.nim')
-rw-r--r--tests/objects/tobject.nim10
1 files changed, 3 insertions, 7 deletions
diff --git a/tests/objects/tobject.nim b/tests/objects/tobject.nim
index d166d5385..543a86376 100644
--- a/tests/objects/tobject.nim
+++ b/tests/objects/tobject.nim
@@ -1,7 +1,3 @@
-discard """
-output: "\n[Suite] object basic methods"
-"""
-
 import unittest
 
 type Obj = object
@@ -10,12 +6,12 @@ type Obj = object
 proc makeObj(x: int): Obj =
   result.foo = x
 
-suite "object basic methods":
-  test "it should convert an object to a string":
+block: # object basic methods
+  block: # it should convert an object to a string
     var obj = makeObj(1)
     # Should be "obj: (foo: 1)" or similar.
     check($obj == "(foo: 1)")
-  test "it should test equality based on fields":
+  block: # it should test equality based on fields
     check(makeObj(1) == makeObj(1))
 
 # bug #10203