Browse Source

added null test

tags/0.1.11^0
Robin Thoni 7 years ago
parent
commit
392a67e297
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      tests/LuDocParserTest.php

+ 2
- 2
tests/LuDocParserTest.php View File

@@ -91,7 +91,7 @@ class LuDocParserTest extends \PHPUnit_Framework_TestCase
91 91
      * @min 42
92 92
      * @max 42
93 93
      * @between 0 42
94
-     * @another 1 2 42.42 true false "a string" \'string\'
94
+     * @another 1 2 42.42 true false "a string" \'string\' null
95 95
      * and another
96 96
      * @return AnotherType
97 97
      */');
@@ -112,7 +112,7 @@ class LuDocParserTest extends \PHPUnit_Framework_TestCase
112 112
                     ["Method" => "min", "Arguments" => [42]],
113 113
                     ["Method" => "max", "Arguments" => [42]],
114 114
                     ["Method" => "between", "Arguments" => [0, 42]],
115
-                    ["Method" => "another", "Arguments" => [1, 2, 42.42, true, false, "a string", "string"]]
115
+                    ["Method" => "another", "Arguments" => [1, 2, 42.42, true, false, "a string", "string", null]]
116 116
                 ]
117 117
             ]
118 118
         ];

Loading…
Cancel
Save