@@ -37,7 +37,7 @@ test('should be able to diff some mssql', async ({ assert }) => {
37
37
} )
38
38
39
39
test ( 'should be able to diff some sqlite' , async ( { assert } ) => {
40
- const sql1 = `
40
+ const sql1 = `
41
41
CREATE TABLE IF NOT EXISTS user (
42
42
id INT PRIMARY KEY
43
43
);
@@ -54,7 +54,7 @@ test('should be able to diff some sqlite', async ({ assert }) => {
54
54
} )
55
55
56
56
test ( 'should be able to diff some postgres' , async ( { assert } ) => {
57
- const sql1 = `
57
+ const sql1 = `
58
58
CREATE TABLE IF NOT EXISTS user (
59
59
id INT PRIMARY KEY
60
60
);
@@ -71,17 +71,17 @@ test('should be able to diff some postgres', async ({ assert }) => {
71
71
assert . snapshot ( r )
72
72
} )
73
73
74
- test ( 'should throw on bad SQL' , async ( { assert} ) => {
74
+ test ( 'should throw on bad SQL' , async ( { assert } ) => {
75
75
try {
76
76
await sqldef ( 'mysql' , 'BAD STUFF' , 'NOT SQL, SORRRY' )
77
77
assert . equal ( true , 'Should have thrown' )
78
- } catch ( e ) {
78
+ } catch ( e ) {
79
79
assert . snapshot ( e . message )
80
80
}
81
81
} )
82
82
83
83
test ( 'should throw on bad type' , async ( { assert } ) => {
84
- const sql1 = `
84
+ const sql1 = `
85
85
CREATE TABLE IF NOT EXISTS user (
86
86
id INT PRIMARY KEY
87
87
);
@@ -96,7 +96,7 @@ test('should throw on bad type', async ({ assert }) => {
96
96
try {
97
97
await sqldef ( 'sqlite' , sql1 , sql2 )
98
98
assert . equal ( true , 'Should have thrown' )
99
- } catch ( e ) {
99
+ } catch ( e ) {
100
100
assert . snapshot ( e . message )
101
101
}
102
- } )
102
+ } )
0 commit comments