Skip to content

Commit

Permalink
test: move test cases to endtoend tests
Browse files Browse the repository at this point in the history
  • Loading branch information
akutschera committed Nov 10, 2022
1 parent baf228d commit a49bddd
Show file tree
Hide file tree
Showing 7 changed files with 34 additions and 104 deletions.
104 changes: 0 additions & 104 deletions internal/compiler/parse_test.go

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
-- Example queries for sqlc
CREATE TABLE authors (
id INT
);

-- name: ListAuthors :many
SELECT id FROM authors
ORDER BY adfadsf;
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: 1
packages:
- path: "go"
name: "querytest"
engine: "postgresql"
schema: "query.sql"
queries: "query.sql"
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# package querytest
query.sql:8:10: column reference "adfadsf" not found
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
-- Example queries for sqlc
CREATE TABLE authors (
id INT
);

-- name: ListAuthors :many
SELECT id FROM authors
ORDER BY adfadsf;
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: 1
packages:
- path: "go"
name: "querytest"
engine: "postgresql"
schema: "query.sql"
queries: "query.sql"
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# package querytest
query.sql:8:10: column reference "adfadsf" not found

0 comments on commit a49bddd

Please sign in to comment.