Commit eeda307a authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Fixed implementation of @method tag.

Simpler, more robust, and correct now.
parent 100bb2b6
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -37,10 +37,12 @@ class TestDocCommentParser < Test::Unit::TestCase
 * Method description
 * @param foo
 * @method blah
 * @return {String}
 */")
    assert_equal("blah", doc[:method][:name])
    assert_equal("Method description", doc[:method][:doc])
    assert_equal("foo", doc[:param][0][:name])
    assert_equal("String", doc[:return][:type])
  end

  def test_constructor
Loading