-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6182b59
commit 9f52613
Showing
4 changed files
with
55 additions
and
59 deletions.
There are no files selected for viewing
1 change: 0 additions & 1 deletion
1
packages/wasm_packages/sql_parser/typesql/lib/src/typesql_base.dart
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
/// Checks if you are awesome. Spoiler: you are. | ||
SQLQuery sql(String sql) => SQLQuery(sql); | ||
|
||
class SQLQuery { | ||
|
15 changes: 5 additions & 10 deletions
15
packages/wasm_packages/sql_parser/typesql/test/typesql_test.dart
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,11 @@ | ||
import 'package:typesql/typesql.dart'; | ||
import '../../typesql_generator/example/typesql_generator_example.dart' | ||
as typesql_generator_example; | ||
import 'package:test/test.dart'; | ||
|
||
void main() { | ||
group('A group of tests', () { | ||
final awesome = sql(''); | ||
|
||
setUp(() { | ||
// Additional setup goes here. | ||
}); | ||
|
||
test('First Test', () { | ||
expect(awesome.text, isEmpty); | ||
group('typesql', () { | ||
test('typesql_generator_example', () async { | ||
await typesql_generator_example.test(); | ||
}); | ||
}); | ||
} |
This file contains 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
15 changes: 5 additions & 10 deletions
15
packages/wasm_packages/sql_parser/typesql_generator/test/typesql_generator_test.dart
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,11 @@ | ||
import 'package:typesql/typesql.dart'; | ||
import '../../typesql_generator/example/typesql_generator_example.dart' | ||
as typesql_generator_example; | ||
import 'package:test/test.dart'; | ||
|
||
void main() { | ||
group('A group of tests', () { | ||
final awesome = sql(''); | ||
|
||
setUp(() { | ||
// Additional setup goes here. | ||
}); | ||
|
||
test('First Test', () { | ||
expect(awesome.text, isEmpty); | ||
group('typesql', () { | ||
test('typesql_generator_example', () async { | ||
await typesql_generator_example.test(); | ||
}); | ||
}); | ||
} |