ソースを参照

added null test

tags/0.1.11^0
Robin Thoni 8年前
コミット
392a67e297
1個のファイルの変更2行の追加2行の削除
  1. 2
    2
      tests/LuDocParserTest.php

+ 2
- 2
tests/LuDocParserTest.php ファイルの表示

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

読み込み中…
キャンセル
保存