You are here

function JavaScriptTestCase::testDefault in Drupal 7

Test default JavaScript is empty.

File

modules/simpletest/tests/common.test, line 1465
Tests for common.inc functionality.

Class

JavaScriptTestCase
Tests for the JavaScript system.

Code

function testDefault() {
  $this
    ->assertEqual(array(), drupal_add_js(), 'Default JavaScript is empty.');
}