mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-29 08:01:23 +03:00
Fix typos in the names of some regression tests. Ticket #962. (CVS 2023)
FossilOrigin-Name: 77542beb31349b85bdf404c46980da346dde3266
This commit is contained in:
@ -11,7 +11,7 @@
|
||||
# This file implements regression tests for SQLite library. The
|
||||
# focus of this file is testing the 'progress callback'.
|
||||
#
|
||||
# $Id: progress.test,v 1.3 2004/06/29 12:39:08 drh Exp $
|
||||
# $Id: progress.test,v 1.4 2004/10/18 21:34:47 drh Exp $
|
||||
|
||||
set testdir [file dirname $argv0]
|
||||
source $testdir/tester.tcl
|
||||
@ -53,7 +53,7 @@ do_test progress-1.0.2 {
|
||||
} {1 {expected integer but got "xyz"}}
|
||||
|
||||
# Test that the query is abandoned when the progress callback returns non-zero
|
||||
do_test progress1.1 {
|
||||
do_test progress-1.1 {
|
||||
set counter 0
|
||||
db progress 1 "[namespace code {incr counter}] ; expr 1"
|
||||
set rc [catch {execsql {
|
||||
@ -64,7 +64,7 @@ do_test progress1.1 {
|
||||
|
||||
# Test that the query is rolled back when the progress callback returns
|
||||
# non-zero.
|
||||
do_test progress1.2 {
|
||||
do_test progress-1.2 {
|
||||
|
||||
# This figures out how many opcodes it takes to copy 5 extra rows into t1.
|
||||
db progress 1 "[namespace code {incr five_rows}] ; expr 0"
|
||||
@ -92,7 +92,7 @@ do_test progress1.2 {
|
||||
|
||||
# Test that an active transaction remains active and not rolled back after the
|
||||
# progress query abandons a query.
|
||||
do_test progress1.3 {
|
||||
do_test progress-1.3 {
|
||||
|
||||
db progress 0 ""
|
||||
execsql BEGIN
|
||||
@ -111,7 +111,7 @@ do_test progress1.3 {
|
||||
} 11
|
||||
|
||||
# Check that a value of 0 for N means no progress callback
|
||||
do_test progress1.4 {
|
||||
do_test progress-1.4 {
|
||||
set counter 0
|
||||
db progress 0 "[namespace code {incr counter}] ; expr 0"
|
||||
execsql {
|
||||
|
Reference in New Issue
Block a user