From e161a3e3c72ed93aa5be72c9b49194d956eb7a16 Mon Sep 17 00:00:00 2001 From: James Cor Date: Thu, 2 Jan 2025 11:50:38 -0800 Subject: [PATCH] more --- go/libraries/doltcore/sqle/procedures_table_test.go | 6 +++--- go/libraries/doltcore/sqle/schema_table_test.go | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/go/libraries/doltcore/sqle/procedures_table_test.go b/go/libraries/doltcore/sqle/procedures_table_test.go index cc6e50aada..65cd28773c 100644 --- a/go/libraries/doltcore/sqle/procedures_table_test.go +++ b/go/libraries/doltcore/sqle/procedures_table_test.go @@ -54,7 +54,7 @@ func TestProceduresMigration(t *testing.T) { {"proc1", "create procedure proc1() SELECT 42 as pk from dual;", timestamp, timestamp, nil}, {"proc2", "create procedure proc2() SELECT 'HELLO' as greeting from dual;", timestamp, timestamp, nil}, } - assert.Equal(t, expectedRows, rows) + assert.Equal(t, expectedRows, sql.RowsToUntyped(rows)) }) t.Run("test that fetching stored procedure triggers the migration logic", func(t *testing.T) { @@ -77,7 +77,7 @@ func TestProceduresMigration(t *testing.T) { {"proc1", "create procedure proc1() SELECT 42 as pk from dual;", timestamp, timestamp, nil}, {"proc2", "create procedure proc2() SELECT 'HELLO' as greeting from dual;", timestamp, timestamp, nil}, } - assert.Equal(t, expectedRows, rows) + assert.Equal(t, expectedRows, sql.RowsToUntyped(rows)) }) t.Run("test that adding a new stored procedure triggers the migration logic", func(t *testing.T) { @@ -107,7 +107,7 @@ func TestProceduresMigration(t *testing.T) { {"proc2", "create procedure proc2() SELECT 'HELLO' as greeting from dual;", timestamp, timestamp, nil}, {"proc3", "create procedure proc3() SELECT 47 as pk from dual;", timestamp, timestamp, "NO_ENGINE_SUBSTITUTION"}, } - assert.Equal(t, expectedRows, rows) + assert.Equal(t, expectedRows, sql.RowsToUntyped(rows)) }) } diff --git a/go/libraries/doltcore/sqle/schema_table_test.go b/go/libraries/doltcore/sqle/schema_table_test.go index 018ef2efcd..8e176c86de 100644 --- a/go/libraries/doltcore/sqle/schema_table_test.go +++ b/go/libraries/doltcore/sqle/schema_table_test.go @@ -87,7 +87,7 @@ func TestAncientSchemaTableMigration(t *testing.T) { {"view", "view1", "SELECT v1 FROM test;", nil, nil}, {"view", "view2", "SELECT v2 FROM test;", nil, nil}, } - assert.Equal(t, expectedRows, rows) + assert.Equal(t, expectedRows, sql.RowsToUntyped(rows)) } func TestV1SchemasTable(t *testing.T) {