devtools/test/data/js_examples/test_simple_failure.js
author Julien Cristau <julien.cristau@logilab.fr>
Tue, 08 Apr 2014 18:00:14 +0200
changeset 9675 8aabfefc8a81
parent 5742 74c19dac29cf
child 10426 ce213d6858f1
permissions -rw-r--r--
[test] use assertNotIn where appropriate Automatically generated with: find -name unittest_*.py -o -name test_*.py | xargs sed -i -e 's/assertFalse(\([^,]*\) in \([^,]*\))/assertNotIn(\1, \2)/' plus revert of a couple false matches.

$(document).ready(function() {

  module("air");

  test("test 1", function() {
      equals(2, 4);
  });

  test("test 2", function() {
      equals('', '45');
      equals('1024', '32');
  });

  module("able");
  test("test 3", function() {
      same(1, 1);
  });
});