Created
September 22, 2010 12:24
-
-
Save maplpro/591574 to your computer and use it in GitHub Desktop.
google closure gears on IE just returns
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function testCreateTable() { | |
if (!database) { | |
return; | |
} | |
var created = database.queryValue('SELECT 1 FROM SQLITE_MASTER ' + | |
'WHERE TYPE=? AND NAME=?', | |
'table', | |
'Test') != null; | |
assertTrue('Test table could not be created', created); | |
assertEquals('Wrong number of rows after more insertions', 3, | |
database.queryValue('SELECT COUNT(*) FROM Test')); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment