-
- equals( child.data('true'), true, "Primitive true read from attribute");
- equals( child.data('false'), false, "Primitive false read from attribute");
- equals( child.data('five'), 5, "Primitive number read from attribute");
- equals( child.data('point'), 5.5, "Primitive number read from attribute");
- equals( child.data('null'), null, "Primitive null read from attribute");
- equals( child.data('string'), "test", "Typical string read from attribute");
+
+ strictEqual( child.data('true'), true, "Primitive true read from attribute");
+ strictEqual( child.data('false'), false, "Primitive false read from attribute");
+ strictEqual( child.data('five'), 5, "Primitive number read from attribute");
+ strictEqual( child.data('point'), 5.5, "Primitive number read from attribute");
+ strictEqual( child.data('pointe'), 5500, "Primitive number read from attribute");
+ strictEqual( child.data('pointbad'), "5..5", "Bad number read from attribute");
+ strictEqual( child.data('pointbad2'), "-.", "Bad number read from attribute");
+ strictEqual( child.data('badjson'), "{123}", "Bad number read from attribute");
+ strictEqual( child.data('badjson2'), "[abc]", "Bad number read from attribute");
+ strictEqual( child.data('empty'), "", "Empty string read from attribute");
+ strictEqual( child.data('space'), " ", "Empty string read from attribute");
+ strictEqual( child.data('null'), null, "Primitive null read from attribute");
+ strictEqual( child.data('string'), "test", "Typical string read from attribute");