Skip to content

Commit c3f24e2

Browse files
author
root
committed
add test for validation
1 parent cd156fa commit c3f24e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/validation_limiting_to_a_single_or_range_cell.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ $config = ['path' => './tests'];
88

99
$validation = new \Vtiful\Kernel\Validation();
1010
$validation->validationType(\Vtiful\Kernel\Validation::TYPE_LIST)
11-
->valueList(['wjx', 'viest'])
1211
->valueList(['wjx', 'viest']);
1312

1413
$excel = new \Vtiful\Kernel\Excel($config);
1514
$filePath = $excel->fileName('tutorial.xlsx')
1615
->validation('A1', $validation->toResource())
16+
->validation('B1:B1048576', $validation->toResource())
1717
->output();
1818

1919
var_dump($validation, $filePath);

0 commit comments

Comments
 (0)