/sqlite3cc

To get this branch, use:
bzr branch http://bzr.ed.am/sqlite3cc

« back to all changes in this revision

Viewing changes to test/test-main.cc

  • Committer: edam
  • Date: 2012-01-23 17:25:17 UTC
  • Revision ID: edam@waxworlds.org-20120123172517-zfee9a7w6qactogr
simplify test code

Show diffs side-by-side

added added

removed removed

74
74
                << sqlite::set_index( 1 ) << "bar" << "baz";
75
75
 
76
76
        // test connection command and query factory methods
77
 
        *( conn.make_command( "PRAGMA user_version = 1") ) << sqlite::exec;
 
77
        *conn.make_command( "PRAGMA user_version = 1") << sqlite::exec;
78
78
        conn.make_query( "PRAGMA user_version")->step();
79
79
 
80
80
        // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -