diff --git a/sqlx/select_test.go b/sqlx/select_test.go index 57adf0c..1591454 100644 --- a/sqlx/select_test.go +++ b/sqlx/select_test.go @@ -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) @@ -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) @@ -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) @@ -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) @@ -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) @@ -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) diff --git a/sqlx/testcases/select/join.sql b/sqlx/testcases/select/join/join.sql similarity index 100% rename from sqlx/testcases/select/join.sql rename to sqlx/testcases/select/join/join.sql diff --git a/sqlx/testcases/select/join_pretty.sql b/sqlx/testcases/select/join/join_pretty.sql similarity index 100% rename from sqlx/testcases/select/join_pretty.sql rename to sqlx/testcases/select/join/join_pretty.sql diff --git a/sqlx/testcases/select/left_join.sql b/sqlx/testcases/select/join/left_join.sql similarity index 100% rename from sqlx/testcases/select/left_join.sql rename to sqlx/testcases/select/join/left_join.sql diff --git a/sqlx/testcases/select/left_join_pretty.sql b/sqlx/testcases/select/join/left_join_pretty.sql similarity index 100% rename from sqlx/testcases/select/left_join_pretty.sql rename to sqlx/testcases/select/join/left_join_pretty.sql diff --git a/sqlx/testcases/select/left_outer_join.sql b/sqlx/testcases/select/join/left_outer_join.sql similarity index 100% rename from sqlx/testcases/select/left_outer_join.sql rename to sqlx/testcases/select/join/left_outer_join.sql diff --git a/sqlx/testcases/select/left_outer_join_pretty.sql b/sqlx/testcases/select/join/left_outer_join_pretty.sql similarity index 100% rename from sqlx/testcases/select/left_outer_join_pretty.sql rename to sqlx/testcases/select/join/left_outer_join_pretty.sql