We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87092ac commit e997347Copy full SHA for e997347
t/nqp/92-where.t
@@ -1,7 +1,10 @@
1
-plan(2);
+plan(4);
2
class Foo {
3
}
4
my $a := Foo.new;
5
my $b := Foo.new;
6
ok(nqp::where($a) == nqp::where($a), 'nqp::where returns the same value for the same object');
7
ok(nqp::where($a) != nqp::where($b), 'nqp::where returns different values for different objects');
8
+
9
+ok(nqp::objectid($a) == nqp::objectid($a), 'nqp::objectid returns the same value for the same object');
10
+ok(nqp::objectid($a) != nqp::objectid($b), 'nqp::objectid returns different values for different objects');
0 commit comments