instance method name use "#" instead of "." for assert
Merge pull request #2281 from ksss/doc-test

instance method name use "#" instead of "." for assert