nashorn/test/script/basic/jsadapter-ids.js
changeset 41841 7e66ae6baf2d
parent 32940 948664bf9708
--- a/nashorn/test/script/basic/jsadapter-ids.js	Thu Oct 27 16:29:02 2016 +0000
+++ b/nashorn/test/script/basic/jsadapter-ids.js	Fri Oct 28 16:52:20 2016 +0200
@@ -30,6 +30,7 @@
 
 var obj = new JSAdapter() {
     __getIds__: function() {
+        Assert.assertTrue(this === obj);
         print("__getIds__ called");
         return [ "foo", "bar" ];
     }