devtools/test/data/js_examples/test_simple_success.js
author Julien Cristau <julien.cristau@logilab.fr>
Fri, 06 Sep 2013 11:01:20 +0200
branchstable
changeset 9235 3eb8d65824f5
parent 5742 74c19dac29cf
child 10426 ce213d6858f1
permissions -rw-r--r--
[devtools] fix race when creating backupdir If somebody else creates backupdir between our stat() and mkdir() (like, say, another test running in parallel), we shouldn't crash.

$(document).ready(function() {

  module("air");

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

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

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