mirror of https://github.com/AMT-Cheif/drift.git
Merge pull request #1569 from westito/fix_virtual_table_test
Fix virtual table test
This commit is contained in:
commit
43613ea6df
|
@ -20,6 +20,7 @@ CREATE VIRTUAL TABLE example_table_search
|
||||||
);
|
);
|
||||||
''',
|
''',
|
||||||
'a|lib/queries.moor': '''
|
'a|lib/queries.moor': '''
|
||||||
|
import 'table.moor';
|
||||||
|
|
||||||
exampleSearch: SELECT example_table.**, s.* FROM example_table
|
exampleSearch: SELECT example_table.**, s.* FROM example_table
|
||||||
INNER JOIN (
|
INNER JOIN (
|
||||||
|
@ -41,7 +42,7 @@ exampleSearch: SELECT example_table.**, s.* FROM example_table
|
||||||
expect(result.errors.errors, isEmpty);
|
expect(result.errors.errors, isEmpty);
|
||||||
});
|
});
|
||||||
|
|
||||||
test('query virtual tables with unknown fucntion', () async {
|
test('query virtual tables with unknown function', () async {
|
||||||
final state = TestState.withContent(
|
final state = TestState.withContent(
|
||||||
{
|
{
|
||||||
'a|lib/table.moor': '''
|
'a|lib/table.moor': '''
|
||||||
|
|
Loading…
Reference in New Issue