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 ab99948 commit 667e658
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions sqlx/select_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ func TestSelect(t *testing.T) {

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

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

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

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

t.Run("left outer", func(t *testing.T) {
expected, err := os.ReadFile("./testcases/select/left_outer_join.sql")
expected, err := os.ReadFile("./testcases/select/join/left_outer_join.sql")

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

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

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

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

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

t.Run("left outer", func(t *testing.T) {
expected, err := os.ReadFile("./testcases/select/left_outer_join_pretty.sql")
expected, err := os.ReadFile("./testcases/select/join/left_outer_join_pretty.sql")

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

0 comments on commit 667e658

Please sign in to comment.