Skip to content

Commit ad19049

Browse files
tomterlbd808
authored andcommitted
Add test for #75
1 parent 980454c commit ad19049

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

tests/yaml_parse_file_003.phpt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
-TEST--
2+
yaml_parse_file - ndocs
3+
--SKIPIF--
4+
<?php if(!extension_loaded('yaml')) die('skip yaml n/a'); ?>
5+
--FILE--
6+
<?php
7+
$nd = 0;
8+
yaml_parse_file(__DIR__ . '/yaml_parse_file_003.yaml', -1, $nd);
9+
var_dump($nd);
10+
--EXPECT--
11+
int(2)

0 commit comments

Comments
 (0)