Skip to content

Commit

Permalink
Adapt tests to decapitalization
Browse files Browse the repository at this point in the history
Signed-off-by: Shlomi Noach <[email protected]>
  • Loading branch information
shlomi-noach committed Jan 13, 2025
1 parent fa11194 commit bfc8d07
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions go/vt/schemadiff/partitioning_analysis_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ func TestAnalyzeTemporalRangePartitioning(t *testing.T) {
name: "not partitioned",
create: "CREATE TABLE t (id int PRIMARY KEY)",
expect: &TemporalRangePartitioningAnalysis{
Reason: "Table does not use PARTITION BY RANGE",
Reason: "table does not use PARTITION BY RANGE",
},
},
{
Expand Down Expand Up @@ -757,7 +757,7 @@ func TestTemporalRangePartitioningNextRotation(t *testing.T) {
create: "CREATE TABLE t (id int)",
interval: datetime.IntervalHour,
prepareAheadCount: 7,
expectErr: fmt.Errorf("Table does not use PARTITION BY RANGE"),
expectErr: fmt.Errorf("table does not use PARTITION BY RANGE"),
},
{
name: "interval too short: hour vs day",
Expand Down Expand Up @@ -1087,7 +1087,7 @@ func TestTemporalRangePartitioningRetention(t *testing.T) {
name: "not partitioned",
create: "CREATE TABLE t (id int)",
expire: "2024-12-19 09:00:00",
expectErr: fmt.Errorf("Table does not use PARTITION BY RANGE"),
expectErr: fmt.Errorf("table does not use PARTITION BY RANGE"),
},
{
name: "day interval, no impact",
Expand Down

0 comments on commit bfc8d07

Please sign in to comment.