Skip to content

Commit cf179fa

Browse files
committed
Update "02-select.t"
1 parent f43f997 commit cf179fa

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

t/02-select.t

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,15 @@ use Test::More;
55
use CellBIS::SQL::Abstract;
66

77
my $sql_abstract = CellBIS::SQL::Abstract->new();
8+
89
my $select1 = $sql_abstract->select('table_test', []);
10+
ok($select1 eq 'SELECT * FROM table_test', "[$select1] is true");
11+
912
my $select2 = $sql_abstract->select('table_test', [], {
1013
'orderby' => 'id_mhs_kelas',
1114
'order' => 'asc',
1215
'limit' => '5'
1316
});
14-
ok($select1 eq 'SELECT * FROM table_test', "[$select1] is true");
1517
ok($select2 eq 'SELECT * FROM table_test ORDER BY id_mhs_kelas ASC LIMIT 5', "[$select2] is true");
1618

1719
done_testing();

0 commit comments

Comments
 (0)