Skip to content

Commit a670a90

Browse files
committed
added tests for field comments
1 parent 7308b62 commit a670a90

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/FieldTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,9 @@ function testFieldOptions(){
345345
'null' => false,
346346
)
347347
), $fields);
348+
349+
$fields = $this->get_fields("ucount int NOT NULL comment 'user count'");
350+
$this->assertEquals('user count', $fields[0]['comment']);
348351
}
349352

350353
function testVirtualOptions(){

0 commit comments

Comments
 (0)