Skip to content
This repository has been archived by the owner on Sep 18, 2021. It is now read-only.

Commit

Permalink
Add a test case to extract @mention after RT.
Browse files Browse the repository at this point in the history
  • Loading branch information
keita committed Dec 10, 2011
1 parent 69069e5 commit abd65fb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions extract.yml
Expand Up @@ -49,6 +49,10 @@ tests:
text: "@username\n@mention"
expected: ["username", "mention"]

- description: "Extract mentions after 'RT'"
text: "RT@username RT:@mention RT @test"
expected: ["username", "mention", "test"]

mentions_with_indices:
- description: "Extract a mention at the start"
text: "@username yo!"
Expand Down

0 comments on commit abd65fb

Please sign in to comment.