diff options
author | drh <drh@noemail.net> | 2003-08-05 13:13:38 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2003-08-05 13:13:38 +0000 |
commit | 37ed48ed2fd1918b43f8ffdbf96dce8fcf8fb64c (patch) | |
tree | e39cbda59e418f5feacd6bd2283098c4df1df242 /test/misc1.test | |
parent | 4305d10360ab7b6fba381b9e783e14503a513b58 (diff) | |
download | sqlite-37ed48ed2fd1918b43f8ffdbf96dce8fcf8fb64c.tar.gz sqlite-37ed48ed2fd1918b43f8ffdbf96dce8fcf8fb64c.zip |
Provide a more informative error message when a uniqueness constraint
fails. Ticket #419. (CVS 1068)
FossilOrigin-Name: 086aa1c9922b7bf399b3ee8b73ba7353d126b119
Diffstat (limited to 'test/misc1.test')
-rw-r--r-- | test/misc1.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/misc1.test b/test/misc1.test index d2f1b7a7e..4ddea47b7 100644 --- a/test/misc1.test +++ b/test/misc1.test @@ -13,7 +13,7 @@ # This file implements tests for miscellanous features that were # left out of other test files. # -# $Id: misc1.test,v 1.22 2003/06/03 01:47:12 drh Exp $ +# $Id: misc1.test,v 1.23 2003/08/05 13:13:39 drh Exp $ set testdir [file dirname $argv0] source $testdir/tester.tcl @@ -222,7 +222,7 @@ do_test misc1-7.4 { catchsql { INSERT INTO t5 VALUES(1,2,4); } -} {1 {uniqueness constraint failed}} +} {1 {columns a, b are not unique}} do_test misc1-7.5 { catchsql { INSERT INTO t5 VALUES(0,2,4); |