public
Description: Prototype JavaScript framework
Homepage: http://prototypejs.org/
Clone URL: git://github.com/sstephenson/prototype.git
Search Repo:
More unit tests for Object.isHash.
tobie (author)
Wed May 07 03:11:41 -0700 2008
commit  1204b07b0645390e5718be98d3c58b6f5e9b41cf
tree    e940363898ac9fb9331e28c20b07519fb2bf5021
parent  d1dd4c526aa55d0d61814f6a59fbc0cc38aff03b
...
 
 
1
2
3
...
1
2
3
4
5
0
@@ -1,3 +1,5 @@
0
+* More unit tests for Object.isHash. (Tobie Langel)
0
+
0
 * Allow Function#argumentNames to handle line breaks between arguments. (Geoff M. Granum, Tobie Langel) [#63 state:resolved]
0
 
0
 * Replace all instances of foo.__proto__ by foo['__proto__'] for Caja-compliance. (Tobie Langel)
...
193
194
195
 
 
 
 
 
 
 
196
197
198
...
193
194
195
196
197
198
199
200
201
202
203
204
205
0
@@ -193,6 +193,13 @@
0
     this.assert(Object.isHash($H()));
0
     this.assert(Object.isHash(new Hash()));
0
     this.assert(!Object.isHash({}));
0
+ this.assert(!Object.isHash(null));
0
+ this.assert(!Object.isHash());
0
+ this.assert(!Object.isHash(''));
0
+ this.assert(!Object.isHash(2));
0
+ this.assert(!Object.isHash(false));
0
+ this.assert(!Object.isHash(true));
0
+ this.assert(!Object.isHash([]));
0
   },
0
   
0
   testObjectIsElement: function() {

Comments

    No one has commented yet.