Index: modules/system/system.test
===================================================================
RCS file: /cvs/drupal/drupal/modules/system/system.test,v
retrieving revision 1.22
diff -u -9 -p -r1.22 system.test
--- modules/system/system.test	31 Oct 2008 11:13:31 -0000	1.22
+++ modules/system/system.test	31 Oct 2008 21:17:56 -0000
@@ -112,19 +112,19 @@ class EnableDisableCoreTestCase extends 
 
   /**
    * Assert tables that begin with the specified base table name.
    *
    * @param string $base_table Begginning of table name to look for.
    * @param boolean $count Assert tables that match specified base table.
    * @return boolean Tables with specified base table.
    */
   function assertTableCount($base_table, $count) {
-    $tables = db_find_tables(Database::getActiveConnection()->prefixTables($base_table) . '%');
+    $tables = db_find_tables(Database::getActiveConnection()->prefixTables('{' . $base_table . '}') . '%');
 
     if ($count) {
       return $this->assertTrue($tables, t('Tables matching "@base_table" found.', array('@base_table' => $base_table)));
     }
     return $this->assertFalse($tables, t('Tables matching "@base_table" not found.', array('@base_table' => $base_table)));
   }
 
   /**
    * Assert the list of modules are enabled or disabled.
