A Twitch.tv viewer reward and games system.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
370 B

12 years ago
  1. // Experimental: https://github.com/felixge/node-mysql/issues/198
  2. var common = require('../../common');
  3. var connection = common.createConnection();
  4. var assert = require('assert');
  5. var err;
  6. connection.query('invalid sql', function(_err) {
  7. err = _err;
  8. });
  9. connection.end();
  10. process.on('exit', function() {
  11. assert.ok(err.stack.indexOf(__filename) > 0);
  12. });