Skip to content

Commit

Permalink
move test files
Browse files Browse the repository at this point in the history
  • Loading branch information
aacebo committed Nov 22, 2024
1 parent 74af33b commit c61e2cf
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sqlx/select_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func TestSelect(t *testing.T) {

t.Run("from", func(t *testing.T) {
t.Run("string", func(t *testing.T) {
expected, err := os.ReadFile("./testcases/select/from_string.sql")
expected, err := os.ReadFile("./testcases/select/from/string.sql")

if err != nil {
t.Fatal(err)
Expand All @@ -79,7 +79,7 @@ func TestSelect(t *testing.T) {
})

t.Run("select", func(t *testing.T) {
expected, err := os.ReadFile("./testcases/select/from_select.sql")
expected, err := os.ReadFile("./testcases/select/from/select.sql")

if err != nil {
t.Fatal(err)
Expand Down Expand Up @@ -348,7 +348,7 @@ func TestSelect(t *testing.T) {

t.Run("from", func(t *testing.T) {
t.Run("string", func(t *testing.T) {
expected, err := os.ReadFile("./testcases/select/from_string_pretty.sql")
expected, err := os.ReadFile("./testcases/select/from/string_pretty.sql")

if err != nil {
t.Fatal(err)
Expand All @@ -362,7 +362,7 @@ func TestSelect(t *testing.T) {
})

t.Run("select", func(t *testing.T) {
expected, err := os.ReadFile("./testcases/select/from_select_pretty.sql")
expected, err := os.ReadFile("./testcases/select/from/select_pretty.sql")

if err != nil {
t.Fatal(err)
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit c61e2cf

Please sign in to comment.