前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
Also, added a unit test. Signed-off-by: NNadeem Ghani <nghani@pivotal.io>