From b1aa3b22cc8036c296c5fa0f1b5340eb892a9a54 Mon Sep 17 00:00:00 2001 From: Tim Sehn Date: Wed, 28 May 2025 12:16:40 -0700 Subject: [PATCH] Fix repalce count test --- integration-tests/bats/sql.bats | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/integration-tests/bats/sql.bats b/integration-tests/bats/sql.bats index d16dc84cc9f..42db5f0c07b 100755 --- a/integration-tests/bats/sql.bats +++ b/integration-tests/bats/sql.bats @@ -2074,14 +2074,13 @@ SQL } @test "sql: replace count" { - skip "right now we always count a replace as a delete and insert when we shouldn't" dolt sql -q "CREATE TABLE test(pk BIGINT PRIMARY KEY, v BIGINT);" run dolt sql -q "REPLACE INTO test VALUES (1, 1);" [ $status -eq 0 ] - [[ "${lines[3]}" =~ " 1 " ]] || false + [[ "$output" =~ "Query OK, 1 row affected" ]] || false run dolt sql -q "REPLACE INTO test VALUES (1, 2);" [ $status -eq 0 ] - [[ "${lines[3]}" =~ " 2 " ]] || false + [[ "$output" =~ "Query OK, 2 rows affected" ]] || false } @test "sql: unix_timestamp function" {