Bladeren bron

added null test

tags/0.1.11^0
Robin Thoni 8 jaren geleden
bovenliggende
commit
392a67e297
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. 2
    2
      tests/LuDocParserTest.php

+ 2
- 2
tests/LuDocParserTest.php Bestand weergeven

@@ -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
         ];

Laden…
Annuleren
Opslaan