summaryrefslogtreecommitdiffstats
path: root/js/xpconnect/tests/unit/test_bug711404.js
blob: f74b43316ce3c1c3744759323a194597962e3c03 (plain)
1
2
3
4
5
6
7
function run_test()
{
  var p = Cc["@mozilla.org/hash-property-bag;1"].
          createInstance(Ci.nsIWritablePropertyBag2);
  p.setPropertyAsInt64("a", -4000);
  Assert.notEqual(p.getPropertyAsUint64("a"), -4000);
}