@@ -37,7 +37,7 @@ test('should be able to diff some mssql', async ({ assert }) => {
3737} )
3838
3939test ( 'should be able to diff some sqlite' , async ( { assert } ) => {
40- const sql1 = `
40+ const sql1 = `
4141 CREATE TABLE IF NOT EXISTS user (
4242 id INT PRIMARY KEY
4343 );
@@ -54,7 +54,7 @@ test('should be able to diff some sqlite', async ({ assert }) => {
5454} )
5555
5656test ( 'should be able to diff some postgres' , async ( { assert } ) => {
57- const sql1 = `
57+ const sql1 = `
5858 CREATE TABLE IF NOT EXISTS user (
5959 id INT PRIMARY KEY
6060 );
@@ -71,17 +71,17 @@ test('should be able to diff some postgres', async ({ assert }) => {
7171 assert . snapshot ( r )
7272} )
7373
74- test ( 'should throw on bad SQL' , async ( { assert} ) => {
74+ test ( 'should throw on bad SQL' , async ( { assert } ) => {
7575 try {
7676 await sqldef ( 'mysql' , 'BAD STUFF' , 'NOT SQL, SORRRY' )
7777 assert . equal ( true , 'Should have thrown' )
78- } catch ( e ) {
78+ } catch ( e ) {
7979 assert . snapshot ( e . message )
8080 }
8181} )
8282
8383test ( 'should throw on bad type' , async ( { assert } ) => {
84- const sql1 = `
84+ const sql1 = `
8585 CREATE TABLE IF NOT EXISTS user (
8686 id INT PRIMARY KEY
8787 );
@@ -96,7 +96,7 @@ test('should throw on bad type', async ({ assert }) => {
9696 try {
9797 await sqldef ( 'sqlite' , sql1 , sql2 )
9898 assert . equal ( true , 'Should have thrown' )
99- } catch ( e ) {
99+ } catch ( e ) {
100100 assert . snapshot ( e . message )
101101 }
102- } )
102+ } )
0 commit comments