[Bast-commits] r8529 - SQL-Abstract/1.x/branches/test_refactor/t
ribasushi at dev.catalyst.perl.org
ribasushi at dev.catalyst.perl.org
Thu Feb 4 10:46:09 GMT 2010
Author: ribasushi
Date: 2010-02-04 10:46:09 +0000 (Thu, 04 Feb 2010)
New Revision: 8529
Modified:
SQL-Abstract/1.x/branches/test_refactor/t/10test.t
Log:
Enhance/detabify
Modified: SQL-Abstract/1.x/branches/test_refactor/t/10test.t
===================================================================
--- SQL-Abstract/1.x/branches/test_refactor/t/10test.t 2010-02-04 10:33:40 UTC (rev 8528)
+++ SQL-Abstract/1.x/branches/test_refactor/t/10test.t 2010-02-04 10:46:09 UTC (rev 8529)
@@ -19,7 +19,7 @@
my @sql_tests = (
- # WHERE condition - equal
+ # WHERE condition - equal
{
equal => 1,
statements => [
@@ -582,34 +582,36 @@
]
},
{
- equal => 0,
- statements => [
- 'SELECT a,b,c FROM foo',
- 'SELECT a,c,b FROM foo',
- 'SELECT b,a,c FROM foo',
- 'SELECT b,c,a FROM foo',
- 'SELECT c,a,b FROM foo',
- 'SELECT c,b,a FROM foo',
- ]
+ equal => 0,
+ statements => [
+ 'SELECT a,b,c FROM foo',
+ 'SELECT a,c,b FROM foo',
+ 'SELECT b,a,c FROM foo',
+ 'SELECT b,c,a FROM foo',
+ 'SELECT c,a,b FROM foo',
+ 'SELECT c,b,a FROM foo',
+ ],
},
{
- equal => 0,
- statements => [
- 'SELECT count(*) FROM foo',
- 'SELECT count(a) FROM foo',
- 'SELECT count(1) FROM foo',
- ]
+ equal => 0,
+ statements => [
+ 'SELECT * FROM foo WHERE a IN (1,2,3)',
+ 'SELECT * FROM foo WHERE a IN (1,3,2)',
+ 'SELECT * FROM foo WHERE a IN (2,1,3)',
+ 'SELECT * FROM foo WHERE a IN (2,3,1)',
+ 'SELECT * FROM foo WHERE a IN (3,1,2)',
+ 'SELECT * FROM foo WHERE a IN (3,2,1)',
+ ]
},
{
- equal => 0,
- statements => [
- 'SELECT * FROM foo WHERE a IN (1,2,3)',
- 'SELECT * FROM foo WHERE a IN (1,3,2)',
- 'SELECT * FROM foo WHERE a IN (2,1,3)',
- 'SELECT * FROM foo WHERE a IN (2,3,1)',
- 'SELECT * FROM foo WHERE a IN (3,1,2)',
- 'SELECT * FROM foo WHERE a IN (3,2,1)',
- ]
+ equal => 0,
+ statements => [
+ 'SELECT count(*) FROM foo',
+ 'SELECT count(*) AS bar FROM foo',
+ 'SELECT count(*) AS "bar" FROM foo',
+ 'SELECT count(a) FROM foo',
+ 'SELECT count(1) FROM foo',
+ ]
},
);
More information about the Bast-commits
mailing list